Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Working with SSL certificates not possible using high available portal site

See original GitHub issue

Describe 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:


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\", line 3331, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-7-8af8ee9d77dc>", line 1, in <module>
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\", line 354, in ssl
    self._ssl = SSLCertificates(url=url, gis=self._gis)
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\", line 454, in __init__
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\", line 29, in __init__
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\gis\admin\", line 37, in _init
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\_impl\", line 902, in get
    self._handle_json_error(resp_json['error'], errorcode)
  File "C:\Python\Anaconda3\lib\site-packages\arcgis\_impl\", 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:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

nanaeaubrycommented, Dec 2, 2022

You can expect to see this change reflected in the next release. Thank you for notifying us about it

esristeinickecommented, Dec 1, 2022


This issue aplies only when working with “highly available Portals.” If you have only one portal machine, this issue does not exist.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found