+

Search Tips | Advanced Search

Scenario: Creating test certificates

In this scenario, we can create a self-signed certificate which we can use for testing MQIPT routes. This certificate can be used by an MQIPT route to identify itself to a remote peer.

Self-signed certificates can be useful in test scenarios where you must ensure SSL/TLS connectivity without paying a Certificate Authority (CA) for a certificate. However, you should not use self-signed certificates in production environments. If you need certificates for production usage, see Scenario: Creating a key-ring file.


Before you begin


About this task

We can either use the iKeyman command-line interface (CLI) or the iKeyman GUI to request the certificate. You should then include the resulting key-ring file in the SSLServerKeyRing or SSLClientKeyRing MQIPT route property, depending on whether the certificate is for use by inbound or outbound connections.


Procedure

Use one of the following methods to create test certificates:


What to do next

After we have finished configuring the key-ring file, store an encrypted copy of the password in a file so that MQIPT can access the key-ring file:
mqiptPW key_password password_file_name.pwd
where:

Ensure that this file is named by the appropriate MQIPT route property; for example, SSLServerKeyRingPW for the SSLServer personal certificate key-ring file or SSLClientKeyRingPW for the SSLClient personal certificate key-ring file.