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

Error Message in Certify #1

Closed heydemar closed 3 years ago

heydemar commented 4 years ago

Ah first, great Job, but i get this Error: My PRTG CertSpace ist correct: C:\Program Files (x86)\PRTG Network Monitor\cert I have no IIS on my PRTG-Server running....

2020-09-04 08:41:13.746 +02:00 [INF] Fetching http://vsrv1.XXX.de/.well-known/acme-challenge/xzmWAJRXvdEPd9kHTNlb0PfhK-XXX: Timeout during connect (likely firewall problem) 2020-09-04 08:41:15.041 +02:00 [INF] Validation of the required challenges did not complete successfully. Fetching http://vsrv1.XXXde/.well-known/acme-challenge/xzmWAJRXvdEPd9kHTNlb0PfhK-XXX: Timeout during connect (likely firewall problem) 2020-09-04 08:41:15.041 +02:00 [INF] Validation of the required challenges did not complete successfully. Fetching http://vsrv1.XXX.de/.well-known/acme-challenge/xzmWAJRXvdEPd9kHTNlb0PfhK-XXX: Timeout during connect (likely firewall problem) 2020-09-04 08:41:15.041 +02:00 [INF] Performing Post-Request (Deployment) Tasks.. 2020-09-04 08:41:15.042 +02:00 [INF] Task [Run Powershell Script] :: Task is enabled but will not run because primary request unsuccessful. 2020-09-04 08:41:15.042 +02:00 [INF] Run Powershell Script :: Task is enabled but will not run because primary request unsuccessful. 2020-09-04 08:41:15.042 +02:00 [INF] Validation of the required challenges did not complete successfully. Fetching http://vsrv1.XXX.de/.well-known/acme-challenge/xzmWAJRXvdEPd9kHTNlb0PfhK-XXX: Timeout during connect (likely firewall problem)

Querying the state of IIS failed. This is usually because IIS is not installed or is not fully configured. image

Okay, i have installed a IIS and have this error: 2020-09-04 09:15:13.235 +02:00 [ERR] Error - PSSecurityException: Fehler bei der AuthorizationManager-Überprüfung. bei System.Management.Automation.Runspaces.AsyncResult.EndInvoke() bei System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult) bei Certify.Management.PowerShellManager.InvokePowershell(CertificateRequestResult result, String executionPolicy, String scriptFile, Dictionary2 parameters, String scriptContent, PowerShell shell, Boolean autoConvertBoolean) in C:\Work\GIT\certify_dev\certify\src\Certify.Shared.Compat\PowerShellManager.cs:Zeile 197. bei Certify.Management.PowerShellManager.<RunScript>d__0.MoveNext() in C:\Work\GIT\certify_dev\certify\src\Certify.Shared.Compat\PowerShellManager.cs:Zeile 91. 2020-09-04 09:15:13.235 +02:00 [INF] Run Powershell Script :: Error - PSSecurityException: Fehler bei der AuthorizationManager-Überprüfung. bei System.Management.Automation.Runspaces.AsyncResult.EndInvoke() bei System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult) bei Certify.Management.PowerShellManager.InvokePowershell(CertificateRequestResult result, String executionPolicy, String scriptFile, Dictionary2 parameters, String scriptContent, PowerShell shell, Boolean autoConvertBoolean) in C:\Work\GIT\certify_dev\certify\src\Certify.Shared.Compat\PowerShellManager.cs:Zeile 197. bei Certify.Management.PowerShellManager.d__0.MoveNext() in C:\Work\GIT\certify_dev\certify\src\Certify.Shared.Compat\PowerShellManager.cs:Zeile 91. 2020-09-04 09:15:13.235 +02:00 [INF] Deployment Tasks did not complete successfully.

andyzib commented 3 years ago

This is an issue with your Certify setup, not the post install script. Sorry.