To configure the client to authenticate itself with an X.509 certificate, perform the following tasks:
Example: Key generation and enrollment using ssh-cmpclient-g3:
$ ssh-cmpclient-g3 INITIALIZE -P generate://ssh2:passphrase@rsa:2048/user_rsa \ -o /home/user/.ssh2/user_rsa -p 62154:ssh \ -s 'C=FI,O=SSH,CN=user;firstname.lastname@example.org' \ -S http://fw.example.com:1080 http://pki.example.com:8080/pkix/ \ 'C=FI, O=SSH, CN=Test CA 1'
Place your keys and certificates in a directory where the Connection Broker can locate them.
By default, the Connection Broker attempts to use each key found in the
You can also add other directory locations for keys using the
general/key-stores/key-storeelement in the
ssh-broker-config.xmlfile. See the section called “Key Store Configuration Examples”.
(Optional) Create an identification file.
identificationfile is not necessary if all your keys are stored in the default directory and you allow all of them to be used for public-key and/or certificate authentication. If the
identificationfile does not exist, the Connection Broker attempts to use each key found in the default directory. If the
identificationfile exists, the keys listed in it are attempted first.
Specify the private key of your software certificate in the
CertKeyoption works identically with the
The certificate itself will be read from
For more information on the syntax of the identification file, see
Make sure that public-key authentication is enabled in the
ssh-broker-config.xmlfile (it is enabled by default).
<authentication-methods> <auth-publickey /> ... </authentication-methods>
Other authentication methods can be listed in the configuration file as well. Place the least interactive method first.