I'm trying to create an SSL cert for the first time. I have no idea how this works and am simply following some instructions provided to me.
first command works fine:
openssl genrsa -des3 -out privkey.key 2048
then the second command is giving me the errors:
openssl req –new –nodes -key privkey.key –out server.csr
it says "unknown option -new" and then lists all of the options, one of which is of course "-new"
Google the error message only gives me one useful forum post which says I need to use the -config option to point to my openssl.cnf file. SO I searched for the only instance of openssl.cnf is in my XAMPP installation.
this gave me additional "unknown option" errors, depnding on where in the command I put the -config option.
openssl req -config /Applications/XAMPP/xamppfiles/share/openssl/openssl.cnf -key privkey.key –out server.csr -new -nodes
this gives me "unknown option -out" which is ridiculous.
Can someone help me with the order of commands, or let me know if there are known bugs with the XAMPP openssl command?
I'm running OSX Lion and XAMPP 1.7.3