openssl req -new -newkey rsa:512 -md5 -x09 -keyout cakey.pem -out
cacert.pem
Then created server and client certificates and signed them using CA's
private key. But when I use these certificates I am getting three error
messages.
verify error : num20: unable to get local issuer certificate
verify error : num27: certificate not trusted
verify error : num21: unable to verify the first certificate
Could anyone explain me what I am doing wrong.
Thanks,
Damitha.
ps: This was the case when I use the test certificate came with openssl.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org
man verify. The first error is the most important. Your CA certificate is
not available in the trusted CA store.
Lutz
--
Lutz Jaenicke Lutz.J...@aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153