The following forum resolved my issue. I have another query. I am getting an
issue that whenever I am trying to sign in to a Microsoft cloud service such as
Office 365, Microsoft Azure, or Microsoft Intune, I am receiving the following
error message from ADFS that "There was a problem accessing
To the great comment in the version the play list
[http://pscodes.net](http://pscodes.net) to the how to get free psn codes any
thing the play online game.
When you use SSL, you need to specify this parameter when compiling:
nim c -d:SSL xx.nim
If you see this
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
STARTTLS has already happened and OpenSSL has already come into play since that
message comes from 'ssl_err.c:665' in OpenSSL source code (the line number
refers to version 1.1.0g). There must
The sending email via curl is working for me properly on the _same_ machine.
some debug info:
...
> STARTTLS < 220 2.0.0 SMTP server ready
* successfully set certificate verify locations:
* CAfile: none CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not
Anyway that error is related to the SSL protocol version the client and the
server are trying to negotiate. See
[here](http://openssl.6102.n7.nabble.com/quot-SSL3-GET-RECORD-wrong-version-number-quot-td8310.html)
for example. I think it little nothing to do with Nim SSL wrapper, you could
try
@woggioni no, here other issue if set parameter useSsl = true in newSmtp then
error raise in net.nim
when defineSsl: #in our case true!
if socket.isSSL: #in our case true!
# RFC3546 for SNI specifies that IP addresses are not allowed.
if not
@alexsad what is your OS and what SSL library are you using?
Yes.
Then:
Error: unhandled exception: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
version number [SslError]
Tried with `useSsl = true`?
How send email via port 587 with TLS?
trying:
import smtp, net
let ctx = newContext(protVersion = protTLSv1, verifyMode = CVerifyPeer,
certFile = "mycert.pem", keyFile="mycertkey.pem")
let smtpConn = newSmtp(useSsl = false, debug=true, sslContext = ctx)
11 matches
Mail list logo