How to Use Netsh to Remove an Older Certificate Before Adding Another on a DDC
book
Article ID: CTX236266
calendar_today
Updated On:
Description
This article explains how to replace an existing expired certificate that was previously bound with Netsh prior to adding another with Netsh.
Instructions
Use " delete sslcert "
This deletes SSL server certificate bindings and the corresponding client certificate policies for an IP address and port.
delete sslcert [ipport=]IP Address:port
Parameters
**[ipport=]**IP Address:port
Specifies the IPv4 or IPv6 address and port for which the SSL certificate bindings will be deleted.
Examples
delete sslcert ipport=1.1.1.1:443
delete sslcert ipport=0.0.0.0:443
delete sslcert ipport=[::]:443
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.
Issue/Introduction
Netsh will give you an error saying that the file already exists if you try to add a certificate binding with Netsh in an attempt to replace or renew the older one on a DDC.
Additional Information
https://docs.microsoft.com/en-us/windows/desktop/Http/delete-sslcert
Was this article helpful?
thumb_up
Yes
thumb_down
No