AnsweredAssumed Answered

Fetching SSL details via REST API

Question asked by Adityakumar529 on Jan 9, 2017
Latest reply on Jan 11, 2017 by CDow-esristaff

Hi Users,

  i am trying to fetch SSL details using the REST API.

Following is the code I have written

 

username = "admin"
password = "admin"
url = "https://testmap.com/arcgis/portaladmin"
sh = arcrest.AGSTokenSecurityHandler(username=username,
                                         password=password,
                                         token_url=url+ '/tokens/',
                                     proxy_url=None,
                                 proxy_port=None)

 

I am able to make connection to the portal through this.Now I need to use the REST API

https://tesmap.com/arcgis/portaladmin/security/sslCertificates/

so that I can print the details.

 

Any help on this will be useful.

 

Thanks

Aditya Kumar

Outcomes