login about faq

How can I enroll a certificate that I could use as the host identity of a Tectia SSH server?

asked Dec 22 '10 at 20:30

SSH%20KB's gravatar image


The host certificates used in SSH Tectia Server authentication must have a fully qualified domain name as the subject alternative name and the client must connect to this host or the server authentication will fail.

ssh-cmpclient can be used to enroll or update certificates from a CA that supports CMPv2 protocol.


To generate a new ssh2 private key "hostcert" and enroll certificate from Test CA 3 at pki.ssh.com using preshared key "62154:ssh":

ssh-cmpclient-g3 initialize -P generate://ssh2@rsa:2048/hostcert -o hostcert -p 62154:ssh -s "C=country,O=organization,CN=hostname;DNS=hostname.company.com" -S socks://fw/ http://pki.ssh.com:8080/pkix/ "C=FI, O=SSH Communications Security Corp, CN=SSH Test CA 3 No Liabilities"

After successful enrollment private key is saved to file hostcert.prv and certificate to file hostcert-0.crt.

Remember to use ssh-keygen-g3 to convert the private key from X.509 format to SSH2 format:

ssh-keygen-g3 -x hostcert.prv hostcert.prv_ssh2


answered Dec 22 '10 at 20:38

SSH%20KB's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 22 '10 at 20:30

Seen: 4,270 times

Last updated: Mar 02 '11 at 23:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.