I've built a .NET console application which worked fine for several years. Since November 23, it takes a huge amount of time to start (15 seconds) when run in production (it works fine when run from Visual Studio).
I've tried to trace back what is going on with Process Monitor (ProcMon) and I've found this pattern:
cryptnet.dll
TCP Reconnect
messages where the machine tries to reach 206.53.176.17 through HTTP (which seems to be in Bermuda).cryptnet.dll
After 15 seconds, everything starts working again (I see an access to crypt32.dll
as the first thing happening the the application continues its loading).
I am completely lost: the problem is not related only to my machine, but all colleagues how are using my tool experience the same issue. This seems to have something to do with Authenticode signature verfications done while the app is being loaded.
Indeed, when trying to view the Digital Signatures of the EXE through the Explorer, clicking on Details takes 15 seconds to view the "Digital Signature Details" panel (without any error). The issuer of the certificate is defined as:
CN = QV Schweiz ICA
OU = Issuing Certificate Authority
O = QuoVadis Trustlink Schweiz AG
C = CH
and it is still valid (message says "This digital signature is OK.").
Note: The root issuer of the certificate is http://www.quovadisglobal.bm/ which happens to be in Bermuda...
The checking of the digital signature on your assembly (Authenticode) is probably what is causing the delay.
Excerpt from this MSDN article:
Authenticode verification adds to the startup time. Authenticode-signed assemblies have to be verified with the certification authority (CA). This verification can be time consuming, because it can require connecting to the network several times to download current certificate revocation lists. It also makes sure that there is a full chain of valid certificates on the path to a trusted root. This can translate to several seconds of delay while the assembly is being loaded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With