xca icon indicating copy to clipboard operation
xca copied to clipboard

.Key file generation

Open Paul9929 opened this issue 8 months ago • 1 comments

Hi I'm new to certificates but am starting to learn the hard way. What I need to accomplish is a self signed certificate with a password private key file with the file extension .key. The end goal is TLS for MQTT Client and Broker. Not sure if this is possible with XCA?

Thank you.

Paul9929 avatar Nov 02 '23 17:11 Paul9929

It is possible with XCA. Actually, this is exactly what XCA was made for :-) mosquitto doc says:

  keyfile file path
           Path to the PEM encoded server key.

Export the private key in PEM format (unencrypted, otherwise you need to enter the password when restarting the server) and name it as you like, for example server.key.

chris2511 avatar Nov 02 '23 18:11 chris2511