<?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 SSL-error when programmatically stop and start service. 10.91 in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/ssl-error-when-programmatically-stop-and-start/m-p/1145048#M646</link>
    <description>&lt;P&gt;In an automated process, I have for a long time stopped and started services with a command line. The command line is like this:&lt;/P&gt;&lt;P&gt;"E:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe" "E:\Program Files\ArcGIS\Server\tools\admin\manageservice.py" -u &amp;lt;username&amp;gt; -p &amp;lt;Password&amp;gt; -s &lt;A href="http://localhost:6080/arcgis/admin" target="_blank" rel="noopener"&gt;http://localhost:6080/arcgis/admin&lt;/A&gt; -n Arealplan_SK/Arealplaner_komm_horing_SK -o stop&lt;/P&gt;&lt;P&gt;This has worked for some years on all versions. Yesterday I upgraded from 10.81 to 10.91. Then I cant run this command line anymore. I get an SSL-error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sveinung_Bertnes_Rheim_0-1645084006640.png" style="width: 801px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34211i137B4F559A7CC5B9/image-dimensions/801x19?v=v2" width="801" height="19" role="button" title="Sveinung_Bertnes_Rheim_0-1645084006640.png" alt="Sveinung_Bertnes_Rheim_0-1645084006640.png" /&gt;&lt;/span&gt;Error connecting to admin site &lt;A href="http://localhost:6080/arcgis/admin/:" target="_blank" rel="noopener"&gt;http://localhost:6080/arcgis/admin/:&lt;/A&gt; &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1091)&amp;gt;&lt;/P&gt;&lt;P&gt;I tried to change to &lt;A href="https://localhost:6443/arcgis/admin," target="_blank" rel="noopener"&gt;https://localhost:6443/arcgis/admin,&lt;/A&gt; same result.&lt;/P&gt;&lt;P&gt;The public ssl-sertificate works. The public services works.&lt;/P&gt;&lt;P&gt;This is an arcgisserver work group installation, one machine deployment. windows server 2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 07:52:29 GMT</pubDate>
    <dc:creator>Sveinung_Bertnes_Råheim</dc:creator>
    <dc:date>2022-02-17T07:52:29Z</dc:date>
    <item>
      <title>SSL-error when programmatically stop and start service. 10.91</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/ssl-error-when-programmatically-stop-and-start/m-p/1145048#M646</link>
      <description>&lt;P&gt;In an automated process, I have for a long time stopped and started services with a command line. The command line is like this:&lt;/P&gt;&lt;P&gt;"E:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe" "E:\Program Files\ArcGIS\Server\tools\admin\manageservice.py" -u &amp;lt;username&amp;gt; -p &amp;lt;Password&amp;gt; -s &lt;A href="http://localhost:6080/arcgis/admin" target="_blank" rel="noopener"&gt;http://localhost:6080/arcgis/admin&lt;/A&gt; -n Arealplan_SK/Arealplaner_komm_horing_SK -o stop&lt;/P&gt;&lt;P&gt;This has worked for some years on all versions. Yesterday I upgraded from 10.81 to 10.91. Then I cant run this command line anymore. I get an SSL-error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sveinung_Bertnes_Rheim_0-1645084006640.png" style="width: 801px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34211i137B4F559A7CC5B9/image-dimensions/801x19?v=v2" width="801" height="19" role="button" title="Sveinung_Bertnes_Rheim_0-1645084006640.png" alt="Sveinung_Bertnes_Rheim_0-1645084006640.png" /&gt;&lt;/span&gt;Error connecting to admin site &lt;A href="http://localhost:6080/arcgis/admin/:" target="_blank" rel="noopener"&gt;http://localhost:6080/arcgis/admin/:&lt;/A&gt; &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1091)&amp;gt;&lt;/P&gt;&lt;P&gt;I tried to change to &lt;A href="https://localhost:6443/arcgis/admin," target="_blank" rel="noopener"&gt;https://localhost:6443/arcgis/admin,&lt;/A&gt; same result.&lt;/P&gt;&lt;P&gt;The public ssl-sertificate works. The public services works.&lt;/P&gt;&lt;P&gt;This is an arcgisserver work group installation, one machine deployment. windows server 2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 07:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/ssl-error-when-programmatically-stop-and-start/m-p/1145048#M646</guid>
      <dc:creator>Sveinung_Bertnes_Råheim</dc:creator>
      <dc:date>2022-02-17T07:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSL-error when programmatically stop and start service. 10.91</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/ssl-error-when-programmatically-stop-and-start/m-p/1145080#M647</link>
      <description>&lt;P&gt;I found a solution, a simple one.&lt;/P&gt;&lt;P&gt;Add the python-argument&amp;nbsp; --ignoressl. Then it works!&lt;BR /&gt;"E:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe" "E:\Program Files\ArcGIS\Server\tools\admin\manageservice.py" -u &amp;lt;username&amp;gt; -p &amp;lt;Password&amp;gt; --ignoressl -s &lt;A href="http://localhost:6080/arcgis/admin" target="_blank" rel="noopener nofollow noreferrer"&gt;http://localhost:6080/arcgis/admin&lt;/A&gt; -n &amp;lt;servicename&amp;gt; -o stop&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 10:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/ssl-error-when-programmatically-stop-and-start/m-p/1145080#M647</guid>
      <dc:creator>Sveinung_Bertnes_Råheim</dc:creator>
      <dc:date>2022-02-17T10:02:26Z</dc:date>
    </item>
  </channel>
</rss>

