I am following the official SFS2X guide: http://docs2x.smartfoxserver.com/GettingStarted/cryptography
I am using OpenSSL version 3.0.1 (Windows)
I have to use this command:
Code: Select all
openssl pkcs12 -export -out my-cert.pfx -inkey www.mydomain.com.key -in www.mydomain.com.crt -certfile bundle.crt
I got the .crt file by using this command:
Code: Select all
openssl x509 -outform der -in my-cert.pem -out certfileOutName.crt
But I haven't received any .key file, maybe this file is inside the .pem file?
I've tried a lot of commands to extract the .key private key, but none seem to work.
Can I do all this procedure on any pc and then upload the files to the server, or do I have to do everything on the target machine?