>NULL: Cannot replace TLS/SSL Certificate on Microsoft Dynamics BC or NAV

Monday 2 October 2023

Cannot replace TLS/SSL Certificate on Microsoft Dynamics BC or NAV

If you get the following error when setting a new thumbprint on a BC/NAV instance:
SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists
The answer is to note down the port number in the error then use it with this command to remove the existing certificate mapping. (replace 443 with the port from the error message.)
netsh http delete sslcert ipport=0.0.0.0:443
You can now set and save the new thumbprint in your instance configuration.

No comments:

Post a Comment