CRL Checking of the SMTP Server Certificate is bypassing the proxy configuration
Proxy is configured at all level on the DVLS Server
All http comminication a going trough the proxy excep for one. When i try to test the email configuration (using smtp.office365.com) i always get an unexpected exception unless i open the firewall for port 80. After analyzing i can see that the WP3W.exe (iis) is trying to validate the CRL of the smtp server but it is bypassing the proxy for the crl verrification. I can see it using netstat:
C:\Users\myuser>netstat -ano|find "SYN"
TCP server-ip:49783 192.229.211.108:80 SYN_SENT 3752
C:\Users\myuser>tasklist |find "3752"
w3wp.exe 3752 Services 0 292,968 K
192.229.211.108 is the server where we can find the RCL file, not our proxy.
Is there another place that i should configure the proxy?
Hello,
This is the method we use to configure a proxy with DVLS.
https://docs.devolutions.net/kb/devolutions-server/how-to-articles/add-proxy-devolutions-server/
Have you already configured that part in the web.config file?
Best regards,
Érica Poirier
Hello Erica,
Thanks for the fast response! Yes already did that config and it is working well, i can view trafic on the proxy. But the configuration is not used for validating the revocation list of the SMTP server. It seems very specific to me. Like i said all web trafic on the machine goes trough the proxy event dvls, the only exception is the RCL Checking of the SMTP server. I guess it would be the same for all RCL validation.
Regards,
Pierre Ayotte
Hello Pierre,
We cannot add a proxy for the CRL check made while sending an email. After speaking with our security specialist they suggest to configure the proxy at the OS level so that all traffic goes through the proxy.
I also added a feature request to add an option to skip the CRL check all together if configuring the proxy at OS level is not a valid option.
This is not a recommended option but we think it might be a useful in some environment.
Let me know if you would prefer to use the option to skip the CRL check so that we can prioritize it accordingly.
Best regards,
Benoît Sansregret
Hello Benoit, as i wrote previously, the proxy is configured at all level, os level included:
still, the CRL check bypass the proxy. We will try to use the azure option instead for sending emails.
Hello Pierre,
Sorry about the proxy configuration suggestion. Using Azure to send email should remove the CRL check.
I will see if we can find what happening for the CRL check when the proxy is configured correctly.
Thank you for reporting this to us
Benoît Sansregret