Error While Renewing Certificate on Cloud Connectors

Error While Renewing Certificate on Cloud Connectors

book

Article ID: CTX331603

calendar_today

Updated On:

Description

Error:SSL Certificate add failed, Error: 183
Cannot create a file when that file already exists

 

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

1. Delete the old certificate: netsh http delete sslcert ipport= Ip Address of the cloud connector:443

2. Run the command to update the CC certificate: netsh http add sslcert ipport=IP of the cloud connector:443 certhash=‎8985##########7a42309423c appid={2112344cd-d05b-4309-9af9-13124567a52b}

Note:
-The above appid value should be substituted with the value from your Cloud Connector's registry. I
n the Registry Editor, select Find, and search for the Remote Broker Provider.

-The entry in the registry is presented without the dashes for the GUID. Please ensure that the dashes are added in the following format, and to include opening and closing curly brackets when pasting into cmd. 
{8-4-4-4-12}
{33258705EE401E6498BDEC1BDC0B578E} – original
{33258705-EE40-1E64-98BD-EC1BDC0B578E} – with dashes.

 

Problem Cause

Old Certificate Binding already exists

Issue/Introduction

SSL certificate error on Cloud Connector due to expired certificate

Additional Information

Reference : https://stackoverflow.com/questions/57833235/ssl-certificate-add-failed-error-183-cannot-create-a-file-when-that-file-alrea