Digital certificate considerations for MQIPT
Points to consider include certificate key size, selection of an appropriate certificate digital signature algorithm and digital certificate and CipherSuite compatibilityDigital certificate and CipherSuite compatibility.
Certificate key size considerations for MQIPT
| Algorithm | Minimum key size (bits) |
|---|---|
| Elliptic Curve | 256 |
| RSA | 2048 |
- When using the mqiptKeycmd CLI command, the -size parameter specifies the key size.
- When using the mqiptKeyman GUI, the Key Size field in the Certificate Creation window specifies the key size.
Selecting an appropriate certificate digital signature algorithm
To prevent forgery of digital certificates, it is important to use a strong digital signature algorithm. When you create or request a certificate, take care to select a good algorithm.
You should avoid using old digital signature algorithms based on MD5 or SHA-1 as these algorithms are no longer sufficiently secure for modern usage. If possible, use one of the newer SHA-2 based digital signature algorithms such as SHA-256 with RSA (SHA256WithRSA).
- When using the mqiptKeycmd CLI command, the -sig_alg parameter specifies the digital signature algorithm.
- When using mqiptKeyman GUI, the Signature Algorithm field of the Certificate Creation window specifies the digital signature algorithm.
Digital certificate and CipherSuite compatibility in MQIPT
Not all CipherSuites can be used with all digital certificates. There are various types of CipherSuite, grouped by their CipherSuite name prefix. Each type of CipherSuite imposes different restrictions on the type of digital certificate that can be used. These restrictions apply to all MQIPT SSL/TLS connections, but are particularly relevant to users of Elliptic Curve cryptography. When performing the secure socket handshake, MQIPT automatically selects a personal certificate to identify itself that is appropriate for the negotiated CipherSuite. In most cases MQIPT automatically interoperates with the remote peer. However, in certain scenarios you might need to use a specific MQIPT CipherSuite to interoperate with a remote IBM® MQ system. The mqiptKeyman application supplied with MQIPT is capable of creating certificates and certificate requests only with DSA and RSA public keys. Additionally, the IBM MQ runmqakm utility can create certificates and certificate requests with Elliptic Curve public keys. Consult your Certificate Authority for advice on creating other types of certificate.
- CipherSuites with names that begin SSL_ECDH_ECDSA_ and SSL_ECDHE_ECDSA_ require a digital certificate with an Elliptic Curve public key.
- CipherSuites with names that contain anon are anonymous; they do not require a digital certificate to identify the remote peer. Such CipherSuites can avoid the overheads of certificate lifecycle management in networks where an alternative means of authentication is used, but in general, avoid their use due to the lack of authentication.
- Other CipherSuites require a digital certificate with an RSA public key.