Select to view content in your preferred language

supportsSSL on generateToken

2356
3
Jump to solution
11-16-2012 06:27 AM
JordanParfitt
Regular Contributor
I'm new to ArcGIS server. I'm trying to call the generate token command in .NET, but it keeps giving me this response:

{"ssl":{"supportsSSL":false}}

Here is the URL I am using:

[ip:6080]/arcgis/admin/generateToken?Referer=[ip:6080]&username=[username]&&RequireSSL=False&f=json&password=[password]

Is it something in my settings? I don't have an SSL certificate.

Thank you in advance.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JordanParfitt
Regular Contributor
Looks like I should have been doing a post, not a get. Downloaded Postman for Chrome and it works in that.

Thanks,

View solution in original post

0 Kudos
3 Replies
nicogis
MVP Frequent Contributor
you can create a self certifcate.
in http://server : port/arcgis/admin/security/config what have you configurate in Protocol ?
Minimally, the Generate Token operation must be accessed over an SSL connection as it requires an exchange of administrative credentials
0 Kudos
JordanParfitt
Regular Contributor
Thanks for your response. That page looks like this:

Security Configuration
Protocol:  HTTP Only
Security for virtual directories enabled: false
Authentication tier: GIS_SERVER
Authentication mode: ARCGIS_TOKEN

User Store Configuration
Type: BUILTIN

Role Store Configuration
Type: BUILTIN
0 Kudos
JordanParfitt
Regular Contributor
Looks like I should have been doing a post, not a get. Downloaded Postman for Chrome and it works in that.

Thanks,
0 Kudos