I am getting cryptographic error whenever I am running load testing. I am using certbot 0.31.0 on Apache/2.4.18. Is this error due to low certbot version? Will it fix if we use latest certbot version?
It produced this output: Resulted into Cryptographic Error (100) authenticate failed. Reason: 'Authentication failed because the remote party has closed the transport stream
My web server is (include version): Apache/2.4.18
The operating system my web server runs on is (include version): Ubuntu
My hosting provider, if applicable, is: AWS
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot version: 0.31.0
The error provided in the first post suggests that this is a problem with the web server under load and has no relation to certificate issuance, Let's Encrypt, or Certbot.
I agree with linkp that this looks like a server failure under load.
But, is your error when connecting touser.dotcom-monitor.com
Because that domain is using a wildcard cert from Sectigo so wouldn't be a Let's Encrypt problem anyway
Other than removing TSLv1.0[&1.1], and maybe the DHE ciphers, I don't see anything wrong with the TLS service.
That said, you may need to check the resources available to it.
memory
CPU
If all is in order and this problem continues...
I would suggest you try using another web server - like: nginx
That looks like a "connection reset" error, which is pretty normal to see during load testing. I think it's more than likely that the "Cryptographic error" and "authenticate failed" are red herrings and the underlying cause is a networking one.
My main question is whether it happens on every connection attempt from the load testing tool, or whether it just happens "eventually" during the load test.
The former (the load test fails immediately) would indicate that dotcom-monitor doesn't like the TLS configuration of your Apache server. This probably doesn't have anything to do with your certificate or Certbot, but would be more about ciphersuites and protocol versions. You can look at https://ssl-config.mozilla.org/ for hints about that.
(It could also be that you have a firewall that has blocked the dotcom-monitor server - some firewalls produce "connection reset" errors when they block a host).
The latter (the load test eventually fails with that error) is pretty normal and would have to do with the performance tuning of your operating system and web server.
There is always that possibility.
Although the logs, dotcom-monitor, and the wire will know for sure, it doesn't seem to be very relevant from what has been given/shown.
When it can do it 1 time without error, but then can't do it 100 at a time, that seems more like an overload than a block or major misconfiguration.
Yeah, the title of "Authenticate failed. Reason: ‘Authentication failed because the remote party has closed the transport stream" lead me down a wrong path. I have troubles sometimes with pronouns or implied nouns such as "remote party".