I can login to a root shell on my machine (yes or no, or I don’t know): Yes
Every few days I get a ‘can’t provide a secure connection’ error on this site. Once I repair or renew the certificate everything works fine but then again the same thing seems to happen a few days later.
It’s hard to say unless you have the full error message/a screenshot of the full error message while the domain is not functioning.
It sounds suspiciously like an OCSP stapling issue (though your server has stapling disabled at the moment, which makes that theory less likely). It could be many other things.
Well all I can say is, that error was coming up. I then logged into my server and selected the ‘Renew & Replace’ option which seemed to go fine and the problem was corrected. However as I said this can happen sporadically every few days or every couple of weeks.
From everything you say, this is a server / installation / network issue - not a certificate issue ( i.e. you are still using the same certificate you were using, there has been no change in that).
Without specific details it’s difficult to say exactly what the issue is ( because it’s not there for us to test at the current time).
Did you follow the link when you got the error to run “windows network diagnostics” ? what information did that provide ?
I’m assuming just using “reload” on your browser doesn’t work ?
Is this something that affects people outside your location / office ? or just internally ?
If it affects everyone ( not just local to you) then it’s an issue on or near the server. I think to solve it you need someone to look at it when there is a fault / issue.
I understand fully that you don’t want to leave your site unreachable for folk, I’d suggest getting someone to look at it next time it happens though ( your server provider, a server admin), or at minimum leave it with the issue for 10 or 15 mins and ask here, to see if there is someone available to look at the issue.