Hello....
I am trying to switch over my web services to use HTTPS,
and I think I just about have it.
I gather the changes were actually pretty minimal,
but I needed to get a certificate and a private key file.
I have a great API that allows me to create self-signed certificates
(I did not spot anything in VA). I used this to create a private key file,
in PEM format, that was password-encrypted.
I then used that primary key file, and the password, to create my certificate
(also in PEM format).
I can open the certificate successfully, using
SciSslX509Certificate fromFile: 'myCert.pem' password: 'myPassword'.
and send a message to it, I get the following error.....
INTERNAL_ERROR (151404653): Unknown error
OpenSSLError
Error Code: 151404653
Error Object: ('problems getting password')
Error String: 'error:0906406D:PEM routines:PEM_def_callback:problems getting password'
Error Hint: 'PEM_def_callback:problems getting password'
AuxiliaryData: nil
Is there a way to specify the password somewhere, that I am just missing?
As a more general question, do I need to use the same private key file I used to create
my certificate? I assumed I did. But if I do not, then I could simply create a new private key file
using the VA crypto library, that does not have a password.
Any help would be greatly appreciated.....
Regards,
Julian