Hi,Apparently ns_imap open doesn't like self-signed certificates. If there is a
list for suggested new features, this should be on it.
Thank you.
Certificate had expired so I replaced it with a new one, restarted nsd and imap
server. Verfied the certificate is valid:# cat or97.net.crt | openssl x509
-text | grep GMT
Not Before: Jul 24 01:30:44 2017 GMT
Not After : Jul 24 01:30:44 2018 GMT
#
Still errors:
[23/Jul/2017:21:32:27][26263.7ff58751b700][-conn:5-96:0:0-] Notice: thread
initialized (0.114429 secs)
[23/Jul/2017:21:32:27][26263.7ff587d1c700][-conn:5-96:1:0-] Notice: thread
initialized (0.111412 secs)
[23/Jul/2017:21:32:31][26263.7ff587d1c700][-conn:5-96:1:0-] Error: ns_imap:
[1]: Certificate failure for or97.net: self signed certificate:
/C=US/ST=OR/O=OR97.NET/CN=or97.net
[23/Jul/2017:21:32:31][26263.7ff587d1c700][-conn:5-96:1:0-] Notice: -- creating
per thread sequence table
[23/Jul/2017:21:32:31][26263.7ff587d1c700][-conn:5-96:1:0-] Error: Unknown
driver: nssock_v4. Only know nssock, nsunix, nsssl, nsssle, nsopenssl
[23/Jul/2017:21:32:31][26263.7ff587d1c700][-conn:5-96:1:0-] Error: GET
http://a22.highlandpiping.com:8003/test/imap? referred by ''
Could not connect to mailbox: Certificate failure for or97.net: self signed
certificate: /C=US/ST=OR/O=OR97.NET/CN=or97.net
while executing
"ns_imap open -mailbox {{or97.net}mail/INBOX} -user testimap1 -password
"13ulbio" "
("uplevel" body line 6)
invoked from within
"uplevel {
set content ""
# acs_mail_lite::imap_conn_go
set content [ns_imap open -mailbox {{or97.net}mail/INBOX} -user testimap1
-password "13ul..."
(procedure "code::tcl::/var/www/5-96/www/test/imap" line 2)
invoked from within
"code::tcl::$__adp_stub"
("uplevel" body line 12)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is
up-to-date
..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare"
invoked from within
"template::adp_parse [file rootname [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 6)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "::nsf::procs::rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$extra_url""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$extra_url"
set tcl_url2file([ad_conn url]) [ad_conn file]
set ..."
called from rp_handler
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel