This forum has been archived. Please start a new discussion on GitHub.

Can you tell me the steps to generate cacert.pem, server.pem, client.pem for IceSSL?

I tried to generate my certificate file, private and public key by using

1. openssl genrsa -out s_priv.pem 1024
2. openssl req -new -x509 -key s_priv.pem -out cacert.pem -days 10
3. openssl rsa -pubout s_pub.pem -in s_priv.pem

Then I tried to use IceSSL, but got this error

SslClientTransceiver.cpp:306: IceSSL::CertificateVerificationException:
Encountered self-signed certificate in the certificate chain.
1 - Thread ID: 3086422688
1 - Error: 336134278
1 - Message: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
1 - Location: s3_clnt.c, 843