Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Mumble GUI p12 cert to .pem for usage in barnyard #46

Open
andrewschott opened this issue Jan 25, 2021 · 0 comments
Open

Convert Mumble GUI p12 cert to .pem for usage in barnyard #46

andrewschott opened this issue Jan 25, 2021 · 0 comments

Comments

@andrewschott
Copy link

andrewschott commented Jan 25, 2021

You may want to add this to the readme. Took me a while to figure this out, so as to save anyone else the effort, here is how to convert your Mumble GUI's generated p12 cert to the pem format for usage with barnyard:

openssl pkcs12 -in /path/to/your/mumble-cert.p12 -out /path/to/your/mumble-cert-barnard.pem -nodes

Then you can use a commmand to load up like:

barnard -certificate="~/certs/barnard.pem" -server=server.com:64738 -username=YourName

To create a new pem from zero:

cd /path/to/where/you/want/cert/to/live
openssl genrsa 2048 > private.pem
openssl req -x509 -days 9000 -new -key private.pem -out public.pem
openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx
openssl pkcs12 -in mycert.pfx -out barnard.pem -nodes

And of course if you register this user, you can launch it with only the server and cert flags, as the server will know the user now (hence the point of registering).

Hope this helps folks out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant