<?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 SAS Viya 4 on AWS login fails with sas-viya cli in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922141#M28279</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;I am new to SAS Viya 4. I am trying to login using sas-viya cli. The error is &lt;/P&gt;
&lt;PRE&gt;tls: failed to verify certificate: x509: certificate signed by unknown authority
Login failed due to an error with the security certificate. The certificate is signed by an unknown authority. Run with the '--verbose' global option to see additional details.&lt;/PRE&gt;
&lt;P&gt;I have followed the instructions at &lt;A href="https://documentation.sas.com/doc/sv/sasadmincdc/v_045/calcli/n1e2dehluji7jon1gk69yggc6i28.htm" target="_blank"&gt;https://documentation.sas.com/doc/sv/sasadmincdc/v_045/calcli/n1e2dehluji7jon1gk69yggc6i28.htm&lt;/A&gt; to generate the trustedcerts.pem.&lt;/P&gt;
&lt;P&gt;Could someone enlighten on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 15:52:25 GMT</pubDate>
    <dc:creator>thesasuser</dc:creator>
    <dc:date>2024-03-28T15:52:25Z</dc:date>
    <item>
      <title>SAS Viya 4 on AWS login fails with sas-viya cli</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922141#M28279</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I am new to SAS Viya 4. I am trying to login using sas-viya cli. The error is &lt;/P&gt;
&lt;PRE&gt;tls: failed to verify certificate: x509: certificate signed by unknown authority
Login failed due to an error with the security certificate. The certificate is signed by an unknown authority. Run with the '--verbose' global option to see additional details.&lt;/PRE&gt;
&lt;P&gt;I have followed the instructions at &lt;A href="https://documentation.sas.com/doc/sv/sasadmincdc/v_045/calcli/n1e2dehluji7jon1gk69yggc6i28.htm" target="_blank"&gt;https://documentation.sas.com/doc/sv/sasadmincdc/v_045/calcli/n1e2dehluji7jon1gk69yggc6i28.htm&lt;/A&gt; to generate the trustedcerts.pem.&lt;/P&gt;
&lt;P&gt;Could someone enlighten on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 15:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922141#M28279</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2024-03-28T15:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya 4 on AWS login fails with sas-viya cli</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922219#M28281</link>
      <description>&lt;P&gt;In my experience, renewing security certificates is tricky at the best of times. You will make faster progress via a Tech Support track if you haven't opened one already. There are likely to be very few Community users with firsthand experience of Viya 4 security certificates.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 22:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922219#M28281</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-03-28T22:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya 4 on AWS login fails with sas-viya cli</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922274#M28283</link>
      <description>The steps in the documentation linked copy the trustedcerts.pem file from a pod onto the machine where you are running sas-viya. &lt;BR /&gt;kubectl -n name-of-namespace cp $(kubectl get pod -n name-of-namespace | grep "sas-logon-app" | head -1 | &lt;BR /&gt;awk -F" " '{print $1}'):security/trustedcerts.pem /tmp/trustedcerts.pem&lt;BR /&gt;&lt;BR /&gt;You then set the SSL_CERT_FILE environment variable to point to that file:&lt;BR /&gt;export SSL_CERT_FILE=/tmp/trustedcerts.pem&lt;BR /&gt;&lt;BR /&gt;After doing that, you should not get an error that the certificate is untrusted unless the CA certificate used to issue the ingress certificate was not added to the trusted CA certificates, so does not exist in trustedcerts.pem.</description>
      <pubDate>Fri, 29 Mar 2024 14:26:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Viya-4-on-AWS-login-fails-with-sas-viya-cli/m-p/922274#M28283</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-03-29T14:26:10Z</dc:date>
    </item>
  </channel>
</rss>

