From: Jean-Marc Pigeon (Delson) Date: Sun, 8 Jun 2025 20:52:11 +0000 (-0400) Subject: Working on certificate exchange and recover line X-Git-Tag: tag-0.8~50 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=36cfdc0ad1e7e299a2d854e5107969176eb9e091;p=jmp%2Fmailleur Working on certificate exchange and recover line --- diff --git a/Makefile b/Makefile index 930e199..6e39a49 100644 --- a/Makefile +++ b/Makefile @@ -218,13 +218,12 @@ go465 : xxx : @ clear @ openssl s_client \ - -crlf \ - --showcerts \ + -msg \ -key certs/localhost-key.pem \ -cert certs/localhost-cert.pem \ -CAfile certs/root-safe_CA.pem \ -starttls smtp \ - -connect smtp1.example.com:25 + -connect courriel.colba.net:25 # -showcerts # -tls1_2 @@ -232,6 +231,7 @@ xxx : # -connect mailprod1.safe.ca:25 # -connect $(TESTSRV):$(TESTPORT) # -connect smtp.google.com:25 +# -connect courriel.colba.net:25 # #testing TLS with google tlsref: diff --git a/lib/unitls.c b/lib/unitls.c index 244e1fb..2482e0b 100644 --- a/lib/unitls.c +++ b/lib/unitls.c @@ -189,7 +189,6 @@ while (proceed==true) { (void) snprintf(data,sizeof(data),"%s_%s",cenv[i],certext); certs[i]=getenv(data); - (void) rou_alert(0,"%s JMPDBG certs[%d]=<%s>",OPEP,i,certs[i]); if (certs[i]==(char *)0) { (void) rou_alert(0,"%s Missing <%s> environment variable (config?)", OPEP,data); @@ -199,7 +198,6 @@ while (proceed==true) { //Set the verify mode if (certs[3]!=(char *)0) { //env value can be missing if (atoi(certs[3])==1) { - (void) rou_alert(0,"%s JMPDBG verifiyng certificate",OPEP); mode=SSL_VERIFY_PEER; //to make sure peer certificate is OK } }