andyzib / LetsEncrypt-PRTG

Post request script to install an SSL certificate obtained with Certify the Web or win-acme in PRTG.
MIT License
22 stars 7 forks source link

Need to restart Probe Service #2

Closed grumpymojo closed 3 years ago

grumpymojo commented 3 years ago

I found when running this that the probe service misbehaved until I restarted it. I suggest adding this to your script.

Restart-Service -Name PRTGProbeService - Force

andyzib commented 3 years ago

Interesting, I've not had any issue with this in over two years of Certify managing my cert and installing it using the script. I'm running an unlimited sensor licenses with multiple remote probes connecting in. Maybe I'll add the option to restart the ProbeService as a switch parameter.

grumpymojo commented 3 years ago

Maybe it's something in our environment. I suppose it won't hurt to have a switch for those that need it. I appreciate the response.