<?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: Certificate Issues with UAG in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Certificate-Issues-with-UAG/m-p/1873822#M50350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution to this error and hopefully responding to my own post will save someone else a lot of time resolving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Working with VMware support to resolve the original issue, the certificate in question was imported to our Connection Server (as a pfx) and exported (with private key). Again the file was converted to PEM using the VMware recommended process. However, t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;his time when the file was uploaded to UAG, the upload completely successfully. I should mention, t&lt;SPAN style="color: #000000; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;his was all completed (cert creation, PFX and PEM conversions) on my Windows 10 workstation using OpenSSL for Windows 1.1.0h. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Several attempts to authenticate through the UAG after the certificate was uploaded were unsuccessful. The esmanager.log file on the UAG Appliance generated ambiguous errors related to SSL; "SSL peer unverified," "a server error occurred, "Auth method(s) failed and no more auth method. Hence sending error"&lt;STRONG&gt;, &lt;/STRONG&gt;etc. The clients would generate an "HTTP 500 Error" or something similar with no additional information provided in the Horizon Client logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;A review of the authbroker.log again in the log bundle gave a more detailed list of the errors that were occurring, and it indicated that the formatting of the certificate was still not correct;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; font-family: ConfluenceInstalledFont, monospace; color: #172b4d;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Caused by: &lt;A class="external-link" href="http://java.io/" style="color: #0052cc;"&gt;java.io&lt;/A&gt;.IOException: -----&lt;STRONG&gt;END RSA PRIVATE KEY not found&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at &lt;A class="external-link" href="http://org.bouncycastle.util.io/" style="color: #0052cc;"&gt;org.bouncycastle.util.io&lt;/A&gt;.pem.PemReader.loadObject(Unknown Source) ~[bc-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at &lt;A class="external-link" href="http://org.bouncycastle.util.io/" style="color: #0052cc;"&gt;org.bouncycastle.util.io&lt;/A&gt;.pem.PemReader.readPemObject(Unknown Source) ~[bc-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source) ~[bcpkix-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.pki.util.CertUtilities.parsePemKeyPair(CertUtilities.java:168) ~[pki-util-1.0.3-SNAPSHOT.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.auth.saml.SamlUtils.parsePemKey(SamlUtils.java:142) ~[auth-0.1.jar:20.06.0.0 Build 15502557]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; ... 80 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;04/01 14:06:59,047[tomcat-http--10]ERROR mapper.AbstractExceptionMapper: Exception while handling jersey request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;com.vmware.horizon.common.api.exception.InternalErrorException: error.spMetadataXml.readError&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.prepareSamlResponse(APIAuthResource.java:268) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.doAuthentication(APIAuthResource.java:215) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.submitAuthentication(APIAuthResource.java:142) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;So although the UAG Admin GUI said the certificate upload was successful, it really wasn't.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Further searching on the Internet for a resoultion found this seemingly unrelated &lt;A href="https://kb.vmware.com/s/article/2062705"&gt;VMware KB article&lt;/A&gt;. However, following the directions in the article, the certificate was uploaded to the UAG appliance and converted using the following command in the CLI;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-top: 10px; font-family: ConfluenceInstalledFont, monospace; color: #172b4d;"&gt;openssl rsa -in original_key.pem -out new_key.pem&lt;/PRE&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;The certificate was then re-deployed, certificate re-installed, new SAML information generated, and the server began accepting smart card PIN and authenticating users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;I guess the moral of the story is to do all your openssl certificate creation, conversion on the UAG appliance, or at least use a version of Openssl that is the same as the appliance you are deploying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2020 14:43:12 GMT</pubDate>
    <dc:creator>GTO455</dc:creator>
    <dc:date>2020-04-09T14:43:12Z</dc:date>
    <item>
      <title>Certificate Issues with UAG</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Certificate-Issues-with-UAG/m-p/1873821#M50349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set up a UAG (3.9.1) for my users. In our environment we use smart cards, so I am attempting to configure X.509 and it is failing. If the UAG is configured with Username/Password it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a cert from external CA in "crt" format. Following the UAG Guide and setting up SAML, I am trying to convert the cert to one line PEM format and I dont know if I am doing this correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The doc says:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;SPAN class="ph cmd" style="color: #212529; font-family: Metropolis, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; background-color: #fafafa;"&gt;If your certificate is in PKCS#12 (&lt;SPAN class="ph filepath" style="font-family: monospace;"&gt;.p12&lt;/SPAN&gt; or &lt;SPAN class="ph filepath" style="font-family: monospace;"&gt;.pfx&lt;/SPAN&gt;) format, or after the certificate is converted to PKCS#12 format, use &lt;SPAN class="keyword cmdname" style="font-family: monospace;"&gt;openssl&lt;/SPAN&gt; to convert the certificate to &lt;SPAN class="ph filepath" style="font-family: monospace;"&gt;.pem&lt;/SPAN&gt; files.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p" style="margin-top: 1rem; margin-bottom: 1rem;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;For example, if the name of the certificate is &lt;SPAN class="ph filepath" style="font-family: monospace;"&gt;mycaservercert.pfx&lt;/SPAN&gt;, use the following commands to convert the certificate:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="copy-code-container float-right" data-original-title="Click to Copy" style="color: #565656;" title=""&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;openssl pkcs12 -in mycaservercert.pfx -nokeys -out mycaservercert.pem &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;openssl pkcs12 -in mycaservercert.pfx -nodes -nocerts -out mycaservercertkey.pem &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;openssl rsa -in mycaservercertkey.pem -check -out mycaservercertkeyrsa.pem&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the cert I received was in "crt" format from the CA, so I converted it to "pfx" format using openssl;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the file was converted to pfx, I ran the commands as described above and created the 3 files. Then I converted them to one line PEM format as the doc says to do using the awk command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I went to configure the SAML settings in the UAG and uploaded the private keyfile I get the following error;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'Open Sans'; text-align: center;"&gt;Invalid PEM format. Exception message: -----END RSA PRIVATE KEY not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt;I checked the file in Notepad++ and it is clearly there. I even tried removing the trailing "\n" but it made no difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/18539i5C894070A845FEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt;I even tried uploading the normal PEM cert files (I read somewhere recently that single single conversion is no longer needed). The UAG accepts them, but authentication still fails when attempting to log in. Checking the authbroker.log file in the UAG, I found this line...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt;Caused by: java.io.IOException: -----END RSA PRIVATE KEY not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt;I'm kinda stumped at this point. Can anyone offer any advice?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;/P&gt;&lt;P style="color: #565656;"&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: 'Open Sans'; text-align: center;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 18:01:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Certificate-Issues-with-UAG/m-p/1873821#M50349</guid>
      <dc:creator>GTO455</dc:creator>
      <dc:date>2020-03-26T18:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Certificate Issues with UAG</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Certificate-Issues-with-UAG/m-p/1873822#M50350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution to this error and hopefully responding to my own post will save someone else a lot of time resolving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Working with VMware support to resolve the original issue, the certificate in question was imported to our Connection Server (as a pfx) and exported (with private key). Again the file was converted to PEM using the VMware recommended process. However, t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;his time when the file was uploaded to UAG, the upload completely successfully. I should mention, t&lt;SPAN style="color: #000000; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;his was all completed (cert creation, PFX and PEM conversions) on my Windows 10 workstation using OpenSSL for Windows 1.1.0h. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Several attempts to authenticate through the UAG after the certificate was uploaded were unsuccessful. The esmanager.log file on the UAG Appliance generated ambiguous errors related to SSL; "SSL peer unverified," "a server error occurred, "Auth method(s) failed and no more auth method. Hence sending error"&lt;STRONG&gt;, &lt;/STRONG&gt;etc. The clients would generate an "HTTP 500 Error" or something similar with no additional information provided in the Horizon Client logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;A review of the authbroker.log again in the log bundle gave a more detailed list of the errors that were occurring, and it indicated that the formatting of the certificate was still not correct;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; font-family: ConfluenceInstalledFont, monospace; color: #172b4d;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Caused by: &lt;A class="external-link" href="http://java.io/" style="color: #0052cc;"&gt;java.io&lt;/A&gt;.IOException: -----&lt;STRONG&gt;END RSA PRIVATE KEY not found&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at &lt;A class="external-link" href="http://org.bouncycastle.util.io/" style="color: #0052cc;"&gt;org.bouncycastle.util.io&lt;/A&gt;.pem.PemReader.loadObject(Unknown Source) ~[bc-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at &lt;A class="external-link" href="http://org.bouncycastle.util.io/" style="color: #0052cc;"&gt;org.bouncycastle.util.io&lt;/A&gt;.pem.PemReader.readPemObject(Unknown Source) ~[bc-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source) ~[bcpkix-fips-1.0.1.BC-FIPS-Certified.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.pki.util.CertUtilities.parsePemKeyPair(CertUtilities.java:168) ~[pki-util-1.0.3-SNAPSHOT.jar:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.auth.saml.SamlUtils.parsePemKey(SamlUtils.java:142) ~[auth-0.1.jar:20.06.0.0 Build 15502557]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; ... 80 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;04/01 14:06:59,047[tomcat-http--10]ERROR mapper.AbstractExceptionMapper: Exception while handling jersey request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;com.vmware.horizon.common.api.exception.InternalErrorException: error.spMetadataXml.readError&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.prepareSamlResponse(APIAuthResource.java:268) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.doAuthentication(APIAuthResource.java:215) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at com.vmware.horizon.connector.restapi.identity.resource.authbroker.apiauth.APIAuthResource.submitAuthentication(APIAuthResource.java:142) ~[APIAuthResource.class:?]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt; at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;So although the UAG Admin GUI said the certificate upload was successful, it really wasn't.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Further searching on the Internet for a resoultion found this seemingly unrelated &lt;A href="https://kb.vmware.com/s/article/2062705"&gt;VMware KB article&lt;/A&gt;. However, following the directions in the article, the certificate was uploaded to the UAG appliance and converted using the following command in the CLI;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-top: 10px; font-family: ConfluenceInstalledFont, monospace; color: #172b4d;"&gt;openssl rsa -in original_key.pem -out new_key.pem&lt;/PRE&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;The certificate was then re-deployed, certificate re-installed, new SAML information generated, and the server began accepting smart card PIN and authenticating users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 10px; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;I guess the moral of the story is to do all your openssl certificate creation, conversion on the UAG appliance, or at least use a version of Openssl that is the same as the appliance you are deploying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 14:43:12 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Certificate-Issues-with-UAG/m-p/1873822#M50350</guid>
      <dc:creator>GTO455</dc:creator>
      <dc:date>2020-04-09T14:43:12Z</dc:date>
    </item>
  </channel>
</rss>

