Generating SSL certificates
Posted
by
user73483
on Server Fault
See other posts from Server Fault
or by user73483
Published on 2011-03-07T23:06:30Z
Indexed on
2011/03/08
0:12 UTC
Read the original article
Hit count: 482
Hi,
I was wondering if anyone has any idea in how to generate a signed CA cert and key using openssl? I have found this website (http://dev.mysql.com/doc/refman/5.1/en/secure-create-certs.html) to generate the client and server certs for mysql server but the example is a self-signed certificate. I use the following command for running the server and client using openssl and the generated certs and keys:
openssl s_server -accept 6502 -cert server-cert.pem -key server-key.pem -CAfile ca-cert.pem -www
openssl s_client -connect 192.168.1.92:6502 -cert client-cert.pem -key client-key.pem -CAfile ca-cert.pem
The error output I get is "Verify return code: 18 (self signed certificate)".
Paul
© Server Fault or respective owner