glisp:send-letter fails with :ssl :starttls and :authentication
Underlying problem lies with cl-smtp:send-email
where we Tested as follows with port 587 at smtppro.zoho.com and got following error:
(cl-smtp:send-email "smtppro.zoho.com" "<email>@<domain>" "<email@domain>" "test from cl-smtp" "here is a test sent from ccl/cl-smtp" :port 587 :ssl t :authentication '( "<login>" "<password>") )
same result if :ssl :starttls
.
Error is:
SSL verify error: 20 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
[Condition of type CL+SSL:SSL-ERROR-VERIFY]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT-BREAK] Reset this thread
3: [ABORT] Kill this thread
Backtrace:
0: (CL+SSL::MAYBE-VERIFY-CLIENT-STREAM #<SSL-STREAM for 9> :REQUIRED NIL)
1: (CL+SSL:MAKE-SSL-CLIENT-STREAM 9 :UNWRAP-STREAM-P T :HOSTNAME NIL :CLOSE-CALLBACK #<CCL:C$
2: ((:INTERNAL CL-SMTP::CONVERT-CONNECTION-TO-SSL CL-SMTP::SMTP-HANDSHAKE))
3: (CL-SMTP::SMTP-HANDSHAKE #<FLEXI-STREAMS:FLEXI-IO-STREAM #x302002A8FE4D> :AUTHENTICATION $
4: (CL-SMTP::DO-WITH-SMTP-MAIL "smtppro.zoho.com" [redacted]$
5: (CCL::CALL-CHECK-REGS CL-SMTP:SEND-EMAIL "smtppro.zoho.com" [redacted] "$
6: (CCL::CHEAP-EVAL (CL-SMTP:SEND-EMAIL "smtppro.zoho.com" [redacted]
--more--