Hello,
I must send an email via SSL to a SMTP Server. An external request is that I must use a Java keystore file *.jks ! I have no *.pem available and this is also not an option. Username, PWD and keystore file are Ok, because I can open an external Web Config App and doing changes there.
The code is:
--------------------------------------------------------------------------
ThisSend.SSL                 = 1
 ThisSend.SecureEmailStartTLS = 0
 if ThisSend.SSL or ThisSend.SecureEmailStartTLS
   ThisSend.AuthUser     = 'myname'
   ThisSend.AuthPassword = '1234567890'
   ThisSend.SSLCertificateOptions.CertificateFile = ''
   ThisSend.SSLCertificateOptions.PrivateKeyFile = 'D:\somefolder\mailkeystore.jks'
   ThisSend.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot = 0
   ThisSend.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 0
   ThisSend.SSLCertificateOptions.CARootFile = ''
 end
ThisSend.SetRequiredMessageSize( 0, len( clip( loc:theText)), 0)
 if ThisSend.Error = 0
   if len( clip( loc:theText)) > 0
     ThisSend.MessageText= clip( loc:theText)
   end
   setcursor( CURSOR:WAIT)
   display()
   ThisSend.SendMail( NET:EMailMadeFromPartsMode)
------------------------------------------------------------------
I got the Error -68 "SSL failed to load the CA root file".
So, how to use jks files. Any hints apreciated.
TIA, Thomas