Skip to content

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

@andrewschott

Description

@andrewschott

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions