Recently one of out client requested to configure remote app publishing through windows 2012 server. After configuring all remote app setting it failed because of certificate error as Remote app requires a valid trusted certificate to be installed so that the clients can open the applications from their desktop icon. We went ahead and generated a self signed certificate on the remote app server and assigned it correctly on the required sites in IIS by editing the binding settings. Refer the screen shot below
However despite of these changes the server kept presenting the old server certificate and hence the remote app wasn’t able to connect. I even deleted the old server certificate from the server and rebooted the server but still it kept presenting the old certificate. I researched further and found the following commands to check the installed certificates on the server and delete them as needed.
Netsh Http Show Sslcert
As we can see in the screenshot above, this command did reveal that the old certificate (which I had already deleted from the server) was still present on the server. The old and new certificates can be identified from the certificate hash value.
I used the following command to delete the non required stale certificate from the server
Netsh delete Sslcert Ipport=[::]:443 (please replace IP Port value with your required value
After this SSL certificate was deleted we ran the following command again and validated that its showing only correct certificate now.
Validated our Remote App publishing was working fine now.
Do let us know if you have more information or quicker solution about this issue, we also appreciate your comments and experience you shared with this issue and the work around you followed.
If we were able to help you even a bit with this information then please share this article on Google, FB or Twitter to spread awareness and save headaches.
Latest posts by Shishir Chandrawat (see all)
- Exchange 2010 Std: Mailbox server has reached the maximum database limit of 5 Error RcrExceedDbLimitException - December 12, 2016
- Exchange 2010: Unable to add Mailbox Database copies on DAG member servers, Error: An error occurred while processing a request on server - December 12, 2016
- Unable to Mount Microsoft Exchange DAG Database, Error: Failed to determine the mount status of the active database copy - December 12, 2016