Your browser does not allow storing cookies. We recommend enabling them.

SSH Tectia 
PreviousNextUp[Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    File Transfer Using SFTP >>
    File Transfer Using Transparent FTP Tunneling >>
    Tunneling on the Command Line >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
    Man Pages >>
        ssh-socks-proxy >>
        ssh-socks-proxy-config >>
        ssh-socks-proxy-ctl >>
        ssh-certview >>
        ssh-cmpclient >>
        ssh-keydist2 >>
        ssh-scepclient >>
    Log Messages >>


Obtaining the CA Certificate

In the following example we first receive the CA certificate from the CA server.

$ ssh-scepclient GET-CA \ 
   -o ca1 \

Received CA/RA certificate 
fingerprint 9b:96:51:bb:29:0d:c9:e0:75:c8:03:0d:0d:92:60:6c

Enrolling a Certificate

Next, we enroll an RSA certificate. The user is authenticated to the CA with the key secret. The subject name and alternative IP address are given, as well as key-usage flags.

$ ssh-scepclient ENROLL \ 
   -P generate://pkcs8:ssh@rsa:1024/subject \  
   -C \
   -p secret \
   -s 'C=FI,O=SSH,CN=SCEP Example;IP=' -u digitalsignature \
   -o subject \

Received user certificate subject-0.crt: 
fingerprint 4b:7e:d7:67:27:5e:e0:54:2f:5b:56:69:b5:01:d2:15
$ ls subject*
subject-0.crt   subject.prv

Certificate Enrollment for Private Key Stored in SAF

This example shows a command for enrolling a certificate for a private key that is stored in the user's key ring in SAF. The key provider and the initialization string are given with the -Z option. The URL to the private key is given with the -P option. The CA certificate stored in file is used. The subject name is also given (CN=Testuser). The user is authenticated to the CA with the pre-shared key test. The CA address is and the port 8080

$ ssh-scepclient ENROLL \
   -Z "zos-saf:keys(ring(TESTUSER1))" \
   -P "zos-saf://0/TESTUSER1/TEST/'TEST 1024 NON-ICSF'" \
   -C \
   -s 'CN=Testuser' \
   -p test \

To get the value for the external key URL for the -P option, run ssh-ekview on the key ring, for example:

ssh-ekview -i "keys(ring(TESTUSER1))" zos-saf

See ssh-ekview for more information.

PreviousNextUp[Contents] [Index]

[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2007 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice

Want to see how PrivX can help your organisation?

Are you a DEVELOPER accessing cloud hosts, are you a IT ADMIN managing access & credentials in your corporation, are you BUSINESS MANAGER and want to save money or are you responsible of IT SECURITY in DevOps