Deyan Yanchev wrote
I used OpenSSL to create a self-signed certificate with the following command:
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj '/CN=localhost'Then I executed the following code in a Workspace:
certificate := Security.X509.Certificate fromFile: 'cert.pem'.
certificates := (Xtreams.TLSCertificateStore newWithDefaults)
certificate: (Array with: certificate) key: myPrivateKey;
This simple piece of code raised exception 'This certificate is not suitable for any supported key exchange!' in Xtreams.TLSCertificateStore>>certificate:key: