AnsweredAssumed Answered

fixing Publish exception ' Exception: hostname in certificate didn't match: != OR '

Question asked by FrancisBase on Dec 9, 2017
Latest reply on Dec 11, 2017 by FrancisBase

Hi all,

I finished configuring a single machine basic deployment, following the tutorial of ArcGIS Enterprise, and all seems to work (i managed to add a validated federated server as hosting to my machine). Now when i try to add a hosted shapefile: going Portal > MyContent > Add Item from desktop > browsing to a zipped shapefile and filling tags fields > clicking ok it raises a Publish exception ' Exception: hostname in certificate didn't match: != OR '.

Legend:

<fqdn> is fully qualified domain name, in my case it's the windows computer full name.

webadaptor name for portal = 'webadaptor_portal'

webadaptor name for server = 'webadaptor_server'

 

I created a self signed certificate using the tutorial in ESRI, in arcgis server admin with the following specs: 

CN=<fqdn>

Subject Alternative Name(SAN): DNSName: <fqdn>

In arcgis server admin > security > config there are the following specs:

"portalUrl": "https://<fqndn>/webadaptor_portal",
"privatePortalUrl": "https://<fqndn_allcaps>:7443/arcgis",
"portalSecretKey": "#####################",
"portalMode": "ARCGIS_PORTAL_FEDERATION",
"serverId": "##################",
"serverUrl": "https://<fqndn>/webadaptor_server",
"privateHostingServerUrl": "https://localhost:6443/arcgis"

 

Is this happening because CN=<fqdn> is different than "privateHostingServerUrl": "https://localhost:6443/arcgis", or why and how to fix this?

 

Best Regards,

Francisco.

Outcomes