Working with SSL certificates not possible using high available portal site
See original GitHub issueDescribe the bug The Security > SSLCertificates resource is not available under the Security section when using a high available portal site and have to be accessed under the Machines > Machine_FQDN > SSLCertificates section.
To Reproduce Steps to reproduce the behavior:
gis.admin.security.ssl.list()
error:
This resource is not accessible for highly available Portals. Please use the sslCertificates API available within the Machines API.
Traceback (most recent call last):
File "C:\Python\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-7-8af8ee9d77dc>", line 1, in <module>
gis.admin.security.ssl.list()
File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\_security.py", line 354, in ssl
self._ssl = SSLCertificates(url=url, gis=self._gis)
File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\_security.py", line 454, in __init__
**kwargs)
File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\_base.py", line 29, in __init__
self._init(connection=self._con)
File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\_base.py", line 37, in _init
params=params)
File "C:\Python\Anaconda3\lib\site-packages\arcgis\_impl\connection.py", line 902, in get
self._handle_json_error(resp_json['error'], errorcode)
File "C:\Python\Anaconda3\lib\site-packages\arcgis\_impl\connection.py", line 1203, in _handle_json_error
raise RuntimeError(errormessage)
RuntimeError: This resource is not accessible for highly available Portals. Please use the sslCertificates API available within the Machines API.
(Error Code: 500)
Expected behavior Also support SSLCertificates when using high available portal sites, or make the resource available at the Machine level.
Platform (please complete the following information):
- OS: Ubuntu 18.04.5 LTS
- Browser: Chrome Version 90.0.4430.93 (Official Build) (64-bit)
- Python API Version: 1.8.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Solved: Cannot connect to highly available portal version
Our configuration is: 2 portal machines, running on windows server 2019, on premise, with https only connection and domain certificates. ArcGIS ...
Read more >Configuring the portal to trust certificates from your certifying ...
If you are configuring highly available portal machines to trust certificates, you must log in through port 7443 using the URL in the...
Read more >Enable HTTPS on your web server—Portal for ArcGIS
If your portal is located behind your firewall and using a CA-signed certificate is not possible, using a domain certificate is an acceptable...
Read more >ArcGIS Enterprise and SSL Considerations - YouTube
As web security continues to become more strict and ArcGIS Enterprise implementations more distributed, understanding SSL principles and ...
Read more >SSL certificates overview | Load Balancing - Google Cloud
Transport Layer Security (TLS) is an encryption protocol used in SSL certificates to protect network communications. Google Cloud uses SSL certificates to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can expect to see this change reflected in the next release. Thank you for notifying us about it
Hello,
This issue aplies only when working with “highly available Portals.” If you have only one portal machine, this issue does not exist.