Select to view content in your preferred language

Unable to replace Data Store SSL Certificate

10960
23
04-21-2018 09:46 AM
WilliamRice
Frequent Contributor

I am attempting to replace the Data Store self-signed certificate with my commercial certificate using the Data Store "updatesslcertificate" utility.   When I run the utility, I receive the following error:  "Error encountered:  Machine 'https://<server name>:2443/arcgis/datastoreadmin' returned an error.  'Unable to import certificate'.  My certificate is in the .pfx format and was imported into and is being used successfully with Portal and Server so I don't believe there is anything wrong with my commercial certificate.  I am not finding anything to troubleshoot this particular issue.

0 Kudos
23 Replies
ChrisBlakely
Emerging Contributor

This bug is still present at version 10.8.1.  Thanks to this thread we are able to work around it (changing the alias), but agree that this bug should have been fixed long ago.

Todd_Metzler
Frequent Contributor

Confirmed again.  Problem unresolved and still exists in Enterprise 10.8.1 with all patches applied as of 2021-03-31.

What we need is a updatesslcertificatewithsamealias.bat or removecertificate.bat Esri.  At least update the documentation to include the solution in this thread.

 

0 Kudos
KarimDa
New Contributor

I confirm, I have 10.8.1 with same problem, I m tried the workaround (changing alias and simple password) but it's doesn't work, Could you give me your solution please ?

Thanks

0 Kudos
sxw_eaglegis
Esri Contributor

Hi there,

This could be related to the syntax used in the command. If the certificate password has spaces in it, need to enclose it in quotation marks.

e.g.

"E:\ArcGIS\DataStore\tools\updatesslcertificate.bat" E:\Certificates\servername.local.pfx "password goes here" servername.local

 

or could be this - https://support.esri.com/en/technical-article/000026043