<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1695099#M44045</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763855"&gt;@TimoT&lt;/a&gt;&amp;nbsp;I was able to successfully run the scheduled Model at 5pm when logged into the machine as the domain service account user and running the task as&amp;nbsp;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;EM&gt;Run only when user is logged on'. &lt;/EM&gt;The scheduled model at 1:10am still failed when run as the same domain service account user but not logged in and using '&lt;EM&gt;Run whether user is logged on or not&lt;/EM&gt;'.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2026 16:31:18 GMT</pubDate>
    <dc:creator>AndreaB_</dc:creator>
    <dc:date>2026-04-08T16:31:18Z</dc:date>
    <item>
      <title>SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693570#M43989</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using Enterprise 11.5 and using a DigiCert cert.&lt;/P&gt;&lt;P&gt;I haven't had any SSL errors until now. I'm getting an error while running a scheduled model:&amp;nbsp;&lt;SPAN&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\ssl.py", line 588, in _load_windows_store_certs&lt;BR /&gt;&amp;nbsp;&amp;nbsp; self.load_verify_locations(cadata=certs)&lt;BR /&gt;ssl.SSLError: [RSA: WRONG_SIGNATURE_LENGTH] wrong signature length (_ssl.c:4047)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So I thought I would do some digging with Esri Tech support. So we tried some cert stuff but I'm still wondering.&lt;/P&gt;&lt;P&gt;I read these docs:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/11.5/administer/windows/configuring-https-using-an-existing-ssl-certificate.htm" target="_self"&gt;Server&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/portal/11.5/administer/windows/import-a-certificate-into-the-portal.htm" target="_self"&gt;Portal&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I noticed in the Portal documentation: I import the .pfx and I use Import Certificate Chain and then it says&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/import-a-certificate-into-the-portal.htm#:~:text=either%20_root%20or%20_intermediate" target="_self"&gt;The alias for these certificates will match the alias entered above and be appended with either _root or _intermediate depending on the type of certificate.&lt;/A&gt;&amp;nbsp;Then it says "&lt;SPAN&gt;After importing an existing CA-signed certificate, the root and intermediate certificates may have already been imported. &lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;hese would be listed&lt;/STRONG&gt; under&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Security&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt; SSLCertificates&lt;/SPAN&gt;&lt;SPAN&gt;."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't have any certs listed except the one .pfx. Does anyone use Import Certificate Chain and it actually lists the root and intermediate certs?&lt;/P&gt;&lt;P&gt;So now I'm thinking I need to export the root and intermediate certs from the .pfx using IIS - Site Bindings - Edit - View - Certification path - click on the root cert - Details - Copy to File and save as a .cer and import them separately into Portal and ArcGIS Server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know what you think. Thank you!&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 22:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693570#M43989</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-03-30T22:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693687#M43996</link>
      <description>&lt;P&gt;I'm not a cert expert, but one thought I had to ask was.&lt;BR /&gt;&lt;BR /&gt;Is it a wildcard cert for your domain?&lt;BR /&gt;&lt;BR /&gt;I know on some recent work we had to go into CORS and Trusted section and add a bunch of expressly named subdomains even with the wild card sort to stop CORS issues.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 13:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693687#M43996</guid>
      <dc:creator>TimWestern</dc:creator>
      <dc:date>2026-03-31T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693704#M43998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/727623"&gt;@AndreaB_&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Want to confirm a couple of things to help narrow this down:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of ArcGIS Pro are you running?&lt;/LI&gt;&lt;LI&gt;Do you see the same error if you run the model manually in Pro, or only when it runs as a scheduled task?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At a high level, this looks like Pro is hitting an issue with one of the certificates in the Windows store on the machine (or potentially user profile) that ArcGIS Pro is installed on, rather than anything specifically wrong with your DigiCert cert or your Portal/Server certificate stores.&lt;/P&gt;&lt;P&gt;This looks more like something being triggered in the Python/SSL side in Pro. Pro appears to be attempting to load certificates from the Windows certificate store for SSL/TLS validation, and it basically doesn't like the look of at least one of them.&lt;/P&gt;&lt;P&gt;The WRONG_SIGNATURE_LENGTH error basically means there’s a mismatch between the certificate’s signature and what’s expected from its public key. That said, it doesn’t always mean the cert is literally the wrong size, it can also happen if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The cert is using a newer signature format that isn’t fully supported by your current version of Pro&lt;/LI&gt;&lt;LI&gt;There’s a corrupted or malformed cert in the store&lt;/LI&gt;&lt;LI&gt;A change with your organisation’s internal CA or security setup may have contributed to this&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;A couple more things that might help pinpoint it:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the machine running Pro managed by your organization?&lt;/LI&gt;&lt;LI&gt;Are you able to try the same workflow on a different machine and see if it behaves the same? Bonus points if you're able to test on a machine not managed by your org.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Depending on results of testing, this may need to involve your IT to investigate and figure out which certificate in the Windows store is the culprit.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 14:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693704#M43998</guid>
      <dc:creator>TimoT</dc:creator>
      <dc:date>2026-03-31T14:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693981#M44005</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763855"&gt;@TimoT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.5.5 on Windows Server 2022 - managed by my org. I do not see any errors when I run the model in ArcGIS Pro - only see the error when I run as a scheduled task. I changed the time a bit too to see if that made a difference. It didn't.&lt;/P&gt;&lt;P&gt;I'm not sure what the change could be. I have talked to 2 people in our IT and they don't know either.&lt;/P&gt;&lt;P&gt;I can update ArcGIS Pro to 3.5.6 on this server and try that next.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 17:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1693981#M44005</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-01T17:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694241#M44010</link>
      <description>&lt;P&gt;I'm still getting the error. I also read this&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/solving-ssl-errors-in-python-requests/m-p/1124005/highlight/true#M63180%20" target="_self"&gt;solving-ssl-errors-in-python-requests&lt;/A&gt; and this&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-documents/python-in-arcgis-pro-3-6-faq/ta-p/1619754" target="_self"&gt;python-in-arcgis-pro-3-6-faq&lt;/A&gt;&amp;nbsp;but deleting the&amp;nbsp;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3 folder and running a repair installation on 3.6.1 didn't update the date of the&amp;nbsp;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\certifi\cacert.pem file, so I don't think that will help. I tried this in my Dev environment first.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 17:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694241#M44010</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-02T17:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694353#M44012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/727623"&gt;@AndreaB_&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What you’re seeing in the other Esri Community thread you linked below is similar in symptoms, but your case is different based on the error message. In your situation, the failure is happening when Python attempts to load certificates from the Windows certificate stores. It’s not failing at the certifi level (which you could essentially call ArcGIS Pro’s trusted certificate store).&amp;nbsp;&lt;/P&gt;&lt;P&gt;A very important clue you mentioned is that the model runs fine when run manually, but fails only when executed as a scheduled task. Just to confirm: is the scheduled task running under the same Windows account you use when you log into the server machine?&lt;/P&gt;&lt;P&gt;Since I don’t get to log into Esri Community often, I’ll outline a few tests and assumptions that may help give you or others in the community a clue to narrow this down.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&amp;nbsp;Test whether the issue is related to interactive vs batch logon&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As a test, configure the scheduled task to "&lt;EM&gt;Run only when user is logged on"&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;/EM&gt;then stay logged into the server and let the task run. If it succeeds in this mode, this could suggest the issue exists between the difference in interactive vs batch logins.&lt;/P&gt;&lt;P&gt;Windows loads user profiles differently depending on logon type. Batch logins (used by Task Scheduler) often do not load the full user profile, which can affect the certificate stores that are available, or perhaps how it parses certificates.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Given this task used to work, look for recently issued certificates&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Look for any new certificates that may have been created or imported. You’ll probably want to check two main areas (and you may need IT assistance):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a. Local Machine certificate store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;On the ArcGIS Pro machine, open Start menu and in the search bar, type and open &lt;EM&gt;certlm.msc&lt;/EM&gt; (local machine certificate store), then check for recently added certificates in:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Personal&lt;/LI&gt;&lt;LI&gt;Trusted Root Certification Authorities&lt;/LI&gt;&lt;LI&gt;Intermediate Certification Authorities&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;b. Current user certificate store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;On the ArcGIS Pro machine, open Start menu and in the search bar, type and open &lt;EM&gt;certmgr.msc&lt;/EM&gt; (current user certificate store), and check the same folders. You can look at the '&lt;EM&gt;Valid from'&lt;/EM&gt; date of certificates to determine when a certificate was issued.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;c. Additionally compare the 2 stores&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Additionally, look for any differences, especially for certificates that only appear in the Current user store. If you find a certificate that is not needed, removing it may resolve the issue. If there is a certificate that looks important, it may be worth considering trying to move it from the Current user store to Local Machine store, where batch logins would have a higher chance of being able to parse it correctly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Another useful test&lt;BR /&gt;&lt;/STRONG&gt;Try running the same scheduled task on a different machine.&amp;nbsp;If it succeeds there, compare the differences, particularly in the Windows certificate stores between the two machines.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 13:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694353#M44012</guid>
      <dc:creator>TimoT</dc:creator>
      <dc:date>2026-04-03T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694603#M44024</link>
      <description>&lt;P&gt;The questions from TimoT are good to think about, I would additionally ask if you are trying to run the scheduled task using your credentials or other credentials.&amp;nbsp; If other, a local machine system account or another user?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 16:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694603#M44024</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2026-04-06T16:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694604#M44025</link>
      <description>&lt;P&gt;Thank you for the reply! I am running ArcGIS Pro as a domain service account user. I am scheduling the Model to run within ArcGIS Pro as that domain service account user - so then the Windows Task Scheduler uses the service account user. That isn't the domain account I am logged into the server with though - I'm logged into the server as my own Admin domain account.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 16:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694604#M44025</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-06T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694605#M44026</link>
      <description>&lt;P&gt;Thank you for the reply! I will be working through these and let you all know.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 16:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694605#M44026</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-06T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694793#M44035</link>
      <description>&lt;P&gt;So have you ever run the Model successfully with when logged into the machine as the domain service account user?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 14:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694793#M44035</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2026-04-07T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694804#M44036</link>
      <description>&lt;P&gt;1. Yeah, so I'm logged onto the server as my domain Admin account, not the domain Service account. So this doesn't apply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I don't see any new certificates. I deleted several expired certificates that already had replacements on the server. I still got the error from the scheduled model last night.&lt;/P&gt;&lt;P&gt;3. I was able to run the Model on a different machine using a different username and '&lt;EM&gt;Run only when user is logged on'.&amp;nbsp;&lt;/EM&gt;I'm not local admin on the machine so it wouldn't let me save my password to&amp;nbsp;&lt;EM&gt;'run when the user is logged on or not'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Since we can't figure this out, we might modify the Python script to bypass the native certificate check. Do you think this would cause security issues?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 14:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694804#M44036</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-07T14:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694814#M44038</link>
      <description>&lt;P&gt;No, I've never tried it. But I'm going to test tonight logged into the machine as the domain service account and&amp;nbsp;&lt;SPAN&gt;configure the scheduled task to "&lt;/SPAN&gt;&lt;EM&gt;Run only when user is logged on"&lt;STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;then stay logged into the server and let the task run.&amp;nbsp;I'll let you know. Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 15:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1694814#M44038</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-07T15:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1695099#M44045</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1371"&gt;@JoshuaBixby&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763855"&gt;@TimoT&lt;/a&gt;&amp;nbsp;I was able to successfully run the scheduled Model at 5pm when logged into the machine as the domain service account user and running the task as&amp;nbsp;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;EM&gt;Run only when user is logged on'. &lt;/EM&gt;The scheduled model at 1:10am still failed when run as the same domain service account user but not logged in and using '&lt;EM&gt;Run whether user is logged on or not&lt;/EM&gt;'.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 16:31:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1695099#M44045</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-08T16:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696125#M44079</link>
      <description>&lt;P&gt;Sounds like you're getting closer to figuring it out. This could be related to what I previously mentioned with regards to the difference between interactive vs batch logins.&lt;/P&gt;&lt;P&gt;Have you tried running the scheduled task as a different domain user or service account?&lt;/P&gt;&lt;P&gt;For completeness sake, you can also try running the scheduled task under a local user account on the machine.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 14:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696125#M44079</guid>
      <dc:creator>TimoT</dc:creator>
      <dc:date>2026-04-14T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696170#M44080</link>
      <description>&lt;P&gt;When you logged in as the domain service account the other day and successfully ran the model, did you get any dialog pop-ups?&amp;nbsp; Specifically, what there any dialog relating to accepting a certificate?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 16:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696170#M44080</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2026-04-14T16:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696284#M44081</link>
      <description>&lt;P&gt;nope, nothing.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 21:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696284#M44081</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-14T21:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificates - Portal and ArcGIS Server - Import certificate chain?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696289#M44082</link>
      <description>&lt;P&gt;Here is the resolution! I worked with Esri tech support. Below from Esri Tech support quoted.&lt;/P&gt;&lt;P&gt;“Based on our analysis of the logs, the failure occurs because the background process cannot access the user’s personal certificate store or specific environment paths when the user is logged off. We have identified several PATH NOT FOUND and NAME NOT FOUND errors specifically related to SSL certificate validation and licensing lookups.&lt;/P&gt;&lt;P&gt;To resolve this, I recommend we start by modifying the script itself.&lt;/P&gt;&lt;P&gt;Modify the Python Script: We can explicitly tell the script where to find the necessary certificates, bypassing the Windows Certificate Store entirely.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Ensure you have this file in this location and accessible to the service account (C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\certifi\cacert.pem).&lt;/LI&gt;&lt;LI&gt;Add the following lines to the very top of your script:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;import os
#Point to the specific certificate file
os.environ['REQUESTS_CA_BUNDLE'] = r"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\certifi\cacert.pem &lt;/PRE&gt;&lt;P&gt;This worked - but not at 12:30am. "The failure at 12:30 AM is likely due to the Windows environment unloading the user profile or certificates after a few hours of inactivity. "&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I set it to run at 8pm and it works like a charm!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for helping me out! Hope this helps someone in the future.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 21:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ssl-certificates-portal-and-arcgis-server-import/m-p/1696289#M44082</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2026-04-14T21:40:02Z</dc:date>
    </item>
  </channel>
</rss>

