Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Mobile AAA Server A.01.00 Administrator's Guide: HP-UX 11.00 and 11i version 1 > Chapter 7 Advanced Configuring

Implementing TLS with RSA Cipher Suites

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

  1. You can use a u tility, such as OpenSSL, to create the necessary certificates or you can use one of the following existing Certificate Authorities to create certificates:

    • A CA certificate (ca_list.pem)

    • A node-specific certificate (rsa_cert.pem)

    • A node-specific key ( rsa_key.pem)

    NOTE: OpenSSL can also be downloaded from www.openssl.org Steps 2-9 following this NOTE are steps for generating certificates using OpenSSL. Skip these steps if you plan to use the existing Certificate authorities listed above.
  2. Create the following directory structure to manage certificates:

    $ mkdir /home/aaa/ca
    $ cd /home/aaa/ca
    $ mkdir certs private
    $ touch index.txt
    $ echo “01” > serial
  3. Copy onpenssl.cnf from the www.openssl.org web site.

  4. Make the following changes in openssl.cnf (or changes as required for your network):

    dir = /home/aaa/ca
    default_days = 365
    default_crl_days = 365
  5. OpenSSL requires a seed value for creating certificates. The seed value can be stored at:
    (ps-ef ; date) > $HOME/.rnd

  6. Create a root certificate with the following command:

    $ openssl req -new -x509 -days 365 -keyout ./private/cakey.pem -out ./cacert.pem -config ./openssl.cnf


    Execute the command above and you prompted for a PEM pass phrase or password to protect the certificate and your organization details. For the Common Name field, enter “ Your Organization Name Root CA”

  7. Create a certificate request for the Peer for which TLS is being configured. If the Peer fully-qualified-domain-name is aaah.home.com, it is important that the certifiacte common name be set to aaah.home.com. Use the following command to create the certificate:

    $ openssl req -new -keyout aaah_rsa_key.pem -out aaah_rsa_req.pem -days 365 -config openssl.cnf

    A pem password is prompted. This password protects the certificate private key. For common name enter aaah.home.A challenge password is not entered.

  8. Create a certificate for server peer aaah.home.com. Use the following command to create the certificate:

    $ openssl ca -policy -policy_anything -crldays 365 -days 365 -out aaah_rsa_cert.pem -config openssl.cnf -infiles aah_rsa_req.pem

    When prompted for a PEM password, enter the password you entered when creating the Root CA certificate. Sign and commit the certificate when prompted.

  9. Remove password protection from the aaah certification key file with the following command:

    $ openssl rsa -in aaah_rsa_key.pem -out aaah_rsa_key.out.pem

  10. Distribute the generated certificate files, using OpenSSL for steps 2-9,or using the existing Certificate Authority, to the security directory for aaah.home.com:

    $ cp cacert.pem /etc/opt/aaa/diameter/security/ca_list.pem
    $ cp aaah_rsa_key_out.pem /etc/opt/aaa/diameter/security/rsa_key.pem
    $ cp aaah_rsa_cert.pem /etc/opt/aaa/diameter/security/rsa_cert.pem

    aaah.home.com is assumed to be local host and that is why it is copied locally, otherwise, FTP or remotely copy the files to the aaah.home.com host.

  11. Access the Mobile AAA server manager.

  12. Select Peers  from the Navigation frame.

  13. Either select the New peer link and then create a new peer or select an existing peer’s link. The peer name must match the TLS certificate common name created in previous steps.

  14. When creating the new peer or modifying an existing peer, the Identity Port must match the port in the peer’s Diameter Identity and the Connection Port must match the TLS port that the peer uses to listen for requests.

  15. Select TLS from the Security drop-down list.

  16. Select the Create button.

  17. Select the Save button.

  18. Repeat all the previous steps for each peer that you wish to establish a TLS connection to a an RSA certificate.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001-2004 Hewlett-Packard Development Company, L.P.