-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists #919
Comments
I am also having this same problem. |
Would be great to have news on this |
We are encountering the same issue. Seems like such a fundamental problem that has been unresolved for years. It's been raised with MS since 2019: https://developercommunity.visualstudio.com/t/iis-web-app-manage-task-should-replace-the-certifi/547395 |
I'm having the same problem, does anyone have a workaround? |
Removing the certificate (PowerShell) before executing this task |
I found the problem. The output of "netsh http show sslcert" is different in new version of windows server vs older ones. The number of empty lines at the beginning varies. The following line is there twice in the script and assume that the relevant information is at line 4 but for newer windows, the information is at line 6. I think this should be modified and be more robust. I don't have time in the short term but the idea would be either to skip empty lines or having a regex searching for the relevant line. |
…t of netsh. Also support if there is more than one certificate. fix microsoft#919
Created this report bug - please upvote! https://developercommunity.visualstudio.com/t/IISWebAppMgmt3---SSL-Certificate-add-fa/10371316 |
Hello there |
Can we get this fixed? As far as I know deployment groups are still officially supported and not deprecated, so the task IIS Web App Manage (for deployment groups) should be maintained and receive bugfixes. Or is it some kind of dead end? |
Just started encountering this ourselves. Can we get some feedback from developers on this please? There's still an open PR with a proposed fix for it too. |
Updating our servers this month and just ran into this - would love to see it fixed to continue using ADO smoothly. The more custom powershell in a deployment, the more fragile it is. |
I see some fixes have been merged, but devops only shows 0.* version available. If this task is supposed to be version 3, why aren't any other versions showing up? When do these changes show up in devops? |
Hi,
Having the same issue as reported in #623, we created a new certificate, same subject name, different thumbprint.
In the task, only changed the thumbprint for the new cert and the task fails with the error "SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists"
I attach the Task verbose_log
The text was updated successfully, but these errors were encountered: