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 >>
    Transferring Files >>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
    Man Pages >>
        ssh-certview >>
        ssh-cmpclient >>
        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


Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more