ierick7 wrote:I knew that much, I haven't been typing any of the oppenssl, just like you have typed.
But you typed the command here including openssl at the start of the command
ierick7 wrote:my bad it happens after the openssl genrsa -des3 -out server.key 1024 before I enter the passphrases.
How would you want me to reply to that post?
If, as I assumed from
reading your first post, you want a real Certificate Authority (CA) verified SSL certificate for your
company server, which will not give invalid certificate warnings. not a self signed certificate generated by the makecert.bat file that will give invalid certificate warnings for your company, much like the default SSL certificate already included in XAMPP, then try and follow this short how to:
Type your command
OpenSSL> genrsa -des3 -out server.key 1024 <-- you can specify a location to save the server.key file eg. C:\server.key
Click enter
Returns
Loading 'screen' into random state - done
Generating RSA private key, 1024 bit long modulus
..++++++
.................++++++
e is 65537 (0x10001) <--This informative part may appear different on your screen but the end line should be
Enter pass phrase for server.key:
Type your password which will not be reflected on screen
Click enter
Returns
Verifying - Enter pass phrase for server.key:
Type your password again which will not be reflected on screen
Click enter
Returns to the OpenSSL> prompt but saves the file server.key in the apache\bin folder by default or the path location you specified.
Just copy and paste this where required at the certificate issuing site and wait for the email to arrive with the rest of your certificates.
The server.key file should look similar to this from the openssl command you posted with a password I provided, so don't use this example it won't work:
Code:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,EF8495243B385070
rHr6YzlP02aNEnYs+Klf7WVh2oqNSSLe8N3/Z6Iv9PFZYMVYVjMLI1dmWy9O5Kbj
ZXqqdo9maXSOoDfc9ReDGVQVBh6cRWHBH+p0ieeK5IkB9/to+3lJsNzfetJqWlAl
U1ADV1dmAJqsoOoN6XGpAvNT9ZuXhlWpmlBGXe71Py7Hg6q0OFWnf9F+4JW/wFGO
uL11juv7L/K6Kqt1/8y4/eY8a1TyLxfMIP7oO5t+H1+a09APx/EPAf7F3RIRk0BD
SCqbbNYXwqZKnZ4P3XcVS0fxkiQ7KwurF3FpTKMUyAjhEDhu4W8F3I9ObsD8alr1
xDk0wXnv4Zd2+cENQfZ8wgAyCL3fpATAPz/MAy3E9SUyOoAhqhGH36Fj0d9K0CXT
wwwEp9y5TuLYWn9EGzI3HTKMFH4X1Pn4BMBhlyRUOjzjRH+PRigqQWLBx83RKnEw
0dgaWQaOHiMuzIh7Uu421iy8K+PGASfON2lPc7qEMgZn/2VaPtmvRZ4HxxvmwaTP
SB2vGI6uJ7nhRCMc20w9RlR1q4Ckr8jn9xcq+WvqDX/85x00j7Q/GmQ6r019IffH
yACzlQDRlTPaeWkWwYikPHb+AVqSQ/PR5bjEfzOZnSD1ff2RkqGzFL3eB2ZA26Dq
FfuBE0osO36oLNoB005JmCG9dv8FrnSQmMRmK6qg84IlP9pOOHeglH6HYoN6Cy7x
etmrH2bKEAwNlJL7m4tkRIALWMVjp1NbOdshSBslQTwGLTndNdlnJbDj7qXFmyJF
JvP54W/pW6wwW0Efk69W09ytB22kSYQSU2PqZ7WgKiWoxdYHG4PZ1w==
-----END RSA PRIVATE KEY-----
Keep them all together in one place initially so you know where they all are.
Then transfer the individual certs to their required locations for use. This information will be provided or you can follow the localhost locations examples in xampp.
If you still think that a self signed certificate generated by the makecert.bat file is the way to go then make sure you make a backup copy of all the ssl folders in the apache\conf folder as, without warning, they will be overwritten.
Good luck.