<?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 Error starting webserver after configuring https in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-starting-webserver-after-configuring-https/m-p/449999#M12769</link>
    <description>&lt;P&gt;I'm following the instructions here:&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=bimtag&amp;amp;docsetTarget=n0nakjyj6hlqmvn11p9p04l25j9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=bimtag&amp;amp;docsetTarget=n0nakjyj6hlqmvn11p9p04l25j9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling to start the server, however, after making the first 5 changes. I followed the steps exactly but when run `&amp;lt;conf&amp;gt;/Lev1/Web/Scripts/WebServer/appsrvconfig.sh start` to restart my webserver I am given this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the running status from the log files in the directory /sas/config/Lev1/Web/Scripts/WebServer/logs for more details.&lt;BR /&gt;Latest backup file of sas.conf is: sas.conf.2018-03-08-11.12.21&lt;BR /&gt;[exec] Result: 1&lt;BR /&gt;An unexpected error occurred. Please refer to the log for more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i look in the tail of the log, I see the this error:&amp;nbsp;Caused by: java.lang.Exception: start failed with return code 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is a problem with my httpd-ssl.conf file that isn't set correctly. I was given 3 certificates and a private key. my certificates are the trustred root, the intermediary, and my server. I followed the instructions &lt;A href="http://documentation.sas.com/?docsetId=secref&amp;amp;docsetTarget=p0gy97oedcx0fin1n83srxchqpzk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and concatenated my 3 certs into a single chain file. I then configured it as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="xis-codeFragment"&gt;SSLCertificateFile "ssl/sas_server_key.crt"
SSLCertificateKeyFile "ssl/&lt;SPAN class="xis-userSuppliedValue"&gt;prvtkey.pem&lt;/SPAN&gt;"
SSLCertificateChainFile "ssl/&lt;SPAN class="xis-userSuppliedValue"&gt;certchain.pem"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone see where I went wrong and why I would get that java lang exception?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Mar 2018 18:21:01 GMT</pubDate>
    <dc:creator>Djones4822</dc:creator>
    <dc:date>2018-03-30T18:21:01Z</dc:date>
    <item>
      <title>Error starting webserver after configuring https</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-starting-webserver-after-configuring-https/m-p/449999#M12769</link>
      <description>&lt;P&gt;I'm following the instructions here:&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=bimtag&amp;amp;docsetTarget=n0nakjyj6hlqmvn11p9p04l25j9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=bimtag&amp;amp;docsetTarget=n0nakjyj6hlqmvn11p9p04l25j9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling to start the server, however, after making the first 5 changes. I followed the steps exactly but when run `&amp;lt;conf&amp;gt;/Lev1/Web/Scripts/WebServer/appsrvconfig.sh start` to restart my webserver I am given this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the running status from the log files in the directory /sas/config/Lev1/Web/Scripts/WebServer/logs for more details.&lt;BR /&gt;Latest backup file of sas.conf is: sas.conf.2018-03-08-11.12.21&lt;BR /&gt;[exec] Result: 1&lt;BR /&gt;An unexpected error occurred. Please refer to the log for more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i look in the tail of the log, I see the this error:&amp;nbsp;Caused by: java.lang.Exception: start failed with return code 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is a problem with my httpd-ssl.conf file that isn't set correctly. I was given 3 certificates and a private key. my certificates are the trustred root, the intermediary, and my server. I followed the instructions &lt;A href="http://documentation.sas.com/?docsetId=secref&amp;amp;docsetTarget=p0gy97oedcx0fin1n83srxchqpzk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and concatenated my 3 certs into a single chain file. I then configured it as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="xis-codeFragment"&gt;SSLCertificateFile "ssl/sas_server_key.crt"
SSLCertificateKeyFile "ssl/&lt;SPAN class="xis-userSuppliedValue"&gt;prvtkey.pem&lt;/SPAN&gt;"
SSLCertificateChainFile "ssl/&lt;SPAN class="xis-userSuppliedValue"&gt;certchain.pem"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone see where I went wrong and why I would get that java lang exception?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-starting-webserver-after-configuring-https/m-p/449999#M12769</guid>
      <dc:creator>Djones4822</dc:creator>
      <dc:date>2018-03-30T18:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error starting webserver after configuring https</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-starting-webserver-after-configuring-https/m-p/450092#M12772</link>
      <description>&lt;P&gt;Manually setting up TLS involves lots of steps and there are several places where it could go wrong. We can provide some guidance in this forum, but for complex things like this, my recommendation would be to get some help from SAS Professional Services or a SAS Partner in your region (who have done this many times before).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have changed the config and hopefully restarted the SAS Web Server so have a look in the recent log files in&amp;nbsp;/opt/sas94m5/config/Lev1/Web/WebServer/logs to see if there are any obvious messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the SAS Web Server running and listening on the expected HTTPS port? You could check using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;netstat -lntp | grep 8343&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is running, then I&amp;nbsp;would&amp;nbsp;inspect the certificates it is using the command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;openssl s_client -showcerts -connect sasserver.example.com:8343&lt;/PRE&gt;
&lt;P&gt;... then Control-D to exit and inspect the response to make sure it is sending what you expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should also check the various SAS Web App Server logs e.g.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;/opt/sas94m5/config/Lev1/Web/Logs/SASServer1_1&lt;/LI&gt;
&lt;LI&gt;/opt/sas94m5/config/Lev1/Web/WebAppServer/SASServer1_1/logs&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;... and see if there are any obvious recent error messages in those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Those are a few things to start with. I hope it helps.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 00:59:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-starting-webserver-after-configuring-https/m-p/450092#M12772</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2018-03-31T00:59:52Z</dc:date>
    </item>
  </channel>
</rss>

