SSH Certificate Connection Error, “Certificate critical option template-guid@venafi.com is not supported”

SSH Certificate Connection Error, “Certificate critical option template-guid@venafi.com is not supported”

107
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Symptom


Authentication with SSH certificate results in the following error (or similar) in /var/log/secure on target machine:

sshd[2292]: error: Certificate critical option "template-guid@venafi.com" is not supported



Environment


25.3 TPP/TLSPDC SSH

Using SSH Manager for Machines with vssh-cli (https://github.com/Venafi/vssh-cli) to enroll and renew SSH certificates requires a minimum version of OpenSSH 5.4. In order to renew an SSH certificate, the client (i.e., vssh-cli) needs to know which issuance template was used to issue the certificate. During SSH certificate issuance, an extension is added which indicates the used template. This is done in SSH certificate manager. Example of the extension:

template-guid@venafi.com: {template GUID}

The new extension is always allowed (i.e., hardcoded) when SSH certificates are requested  (POST SSHCertificates/Request). 



Cause


OpenSSH verison 5.4 and higher allows the extension, while OpenSSH versions older than 5.4 do not recognize the extension and so it is not supported. This causes operating systems like RHEL 6.1 to see the error during SSH certificate authentication.



Resolution


Upgrade OS or OpenSSH to a supported version https://www.openssh.org/releasenotes.html



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Q3iCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail