How to change HTTPS protocol into HTTP in ArcGIS server 10.3.1

4685
11
01-18-2016 02:35 AM
Muqit_Zoarder
Occasional Contributor

Dear all, i hope you all are in good health. I am in a big trouble in administrating my ArcGIS Server 10.3.1. I have configured the communication protocol from HTTP to HTTPS without "Enabling SSL on ArcGIS Server". Now i cannot login to arcgis server and my browser is also showing me "

This page can’t be displayed

Turn on SSL 3.0, TLS 1.0, TLS 1.1 and TLS 1.2 in Advanced settings and try connecting to again."

I tried several ways but cannot login to server. Please anyone give me a solution without uninstalling the server.

Thanks

Muqit Zoarder

Data Scientist

Germany

11 Replies
JayantaPoddar
MVP Esteemed Contributor

Hello Muqit,

In IIS Manager,

1) Create a self-signed certificate.

2) Bind the certificate with port 443 (https)

How to Create a Self Signed Certificate in IIS 7

Now try accessing the URL. Configure web-adaptor, if required.



Think Location
Muqit_Zoarder
Occasional Contributor

Hello Mr Jayanta, thanks for your advice. I am doing so, and did before as well but could not solve the issue.

Thanks

Regards

Muqit

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Are you getting this message when trying to log into Manager? Have you tried logging in as the primary  site administer account?  You can reset this password if you forgot it

Resetting a forgotten password—Documentation (10.3 and 10.3.1) | ArcGIS for Server

Also, this may be of help Securing your ArcGIS Server site—Documentation (10.3 and 10.3.1) | ArcGIS for Server

0 Kudos
Muqit_Zoarder
Occasional Contributor

Hello Rebecca, I cannot go inside the admin or any service as i changed the protocol to HTTPS. So I must have to do something outside from the server.

Thanks

Regards

Muqit

0 Kudos
ChrisSmith7
Frequent Contributor

I did something similar, if memory serves me correct. There wasn't a way to fix this without modifying some server config files - let me see if I can dig those up...

0 Kudos
ChrisSmith7
Frequent Contributor

Ok, try this:

1 )Stop server (Windows Services >> ArcGIS Server)

2) Make a back-up of the following config files:

X:\arcgisserver\config-store\security\security-config.json

X:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf\server.xml

3) Make changes to the config files:

X:\arcgisserver\config-store\security\security-config.json

"httpEnabled": false, = "httpEnabled": true,

X:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf\server.xml

set SSLEnabled="false"

I think that's what did it for me, though I'm not positive... If that doesn't work, you can try keeping SSL in the security config json file and set keyAlias="SelfSignedCertificate" for the <Connector> tag in the server config file

4) Restart ArcGIS Server in Windows Services

Muqit_Zoarder
Occasional Contributor

Thank you Chris. If you find anything sold instead of server uninstallation, please let me know.

Thanks

Regards

Muqit

0 Kudos
ChrisSmith7
Frequent Contributor

Muqit,

If you follow my instructions in my previous note, you will not need to uninstall server - you just need to stop and restart it in Windows Services.

Muqit_Zoarder
Occasional Contributor

Hello Chris,

Please have a look on my security-config.jason file

{

  "securityEnabled": true,

  "authenticationMode": "ARCGIS_TOKEN",

  "authenticationTier": "GIS_SERVER",

  "userStoreConfig": {

    "type": "BUILTIN",

    "properties": {}

  },

  "roleStoreConfig": {

    "type": "BUILTIN",

    "properties": {}

  },

  "sslEnabled": false,

  "httpEnabled": true,

  "virtualDirsSecurityEnabled": false,

  "allowDirectAccess": true

}

and the server xml

<!--

    <Connector maxHttpHeaderSize="65535" port="6443" protocol="HTTP/1.1" SSLEnabled="false"

               maxThreads="150" scheme="https" secure="false"

 

I did it, but still its not working.

thanks

0 Kudos