Good afternoon, I’m trying to send email via gmail.com. Which perfectly worked since a while ago. but now it seems gmail (I think this is the reason) is rejecting the 01cert.pem certificate Because the encryption is too weak.
After running: SslSmtpCli1.Host := 'smtp.googlemail.com'; SslSmtpCli1.Port := '465'; ….. SslSmtpCli1.SslType := smtpTlsImplicit; if SslSmtpCli1.SslType <> smtpTlsNone then begin SslContext1.SslPrivKeyFile := GlobalUserSettings.fCertDir + '\01key.pem'; SslContext1.SslPassPhrase := 'password'; SslContext1.SslCertFile := GlobalUserSettings.fCertDir + '\01cert.pem'; SslContext1.SslCAFile := GlobalUserSettings.fCertDir + '\TrustedCABundle.pem'; SslContext1.SslCAPath := GlobalUserSettings.fCertDir + '\TrustedCaStore'; SslContext1.SslVerifyPeer := false; SslSmtpCli1.OnSslVerifyPeer := nil; // events voor peer verification + handshake SslSmtpCli1.OnSslHandshakeDone := nil; end; I throws this exception Debugger Exception Notification: Project xxx exception class EsslContextException with Message ‘Can’t read certificate file “c:\xxxx\01cert.pem” Error: 140AB18E:SSL routinges:SSL_CTX_use_certificate:ca md too weak Is there a (quick) solution to rebuild the certificate so that it’s not too weak? I did not manage to understand how to build my own certificate from the demos/SslCerts folder. Thanks for any help. Regards, Jasja Met vriendelijke groeten - Best regards - Mit freundlichen Grüßen - Bestu kveðjur - Sincères salutations Jasja Glasbeek | Sales/Export/ICT | Machandel BV -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be