I can use a RACF certificate as a server certificate (in LDAP etc) with no problems.
If I make the size bigger it stops working. Is this supported ( or do I just need to tweak my definitions)
RACDCERT ID(START1) GENCERT -
SUBJECTSDN(CN('SERVEREC') -
O('ADCD') -
OU('TEST')) -
ALTNAME(IP(10.1.1.2)) -
SIZE(256) - NISTECC -SIGNWITH (CERTAUTH LABEL('COLIN-CA')) -
KEYUSAGE(HANDSHAKE ,KEYAGREE) -
NOTAFTER( DATE(2024-12-29))-
WITHLABEL('SERVEREC')
works fine
If I use
size(521)
it does not work, and I the following in the GSKTRACE
INFO edit_ciphers(): Using server certificate 'SERVEREC'
INFO crypto_ec_get_cached_public_key(): Using EC public key cache entry 201619B8
ENTRY gsk_factor_public_key(): --->
EXIT gsk_factor_public_key(): <--- Exit status 0x00000000 (0)
ENTRY gsk_get_ec_parameters_info(): ---> keyInfo size 12
EXIT gsk_get_ec_parameters_info(): <--- Exit status 0x00000000 (0) EC curve type 34, key size 521 INFO edit_ciphers(): Server certificate ec curve 0034 not in supported ecurve tls extension. EC cipher suites disabledINFO edit_ciphers(): Initial SSL V3 4-character cipher specs:
INFO edit_ciphers(): C02CC02BC030C02FC024C023130313011302
INFO edit_ciphers(): SSL V3 EC cipher C02C skipped because EC ciphers unavailable
INFO edit_ciphers(): SSL V3 EC cipher C02B skipped because EC ciphers unavailable
INFO edit_ciphers(): SSL V3 cipher C030 skipped due to key algorithm
INFO edit_ciphers(): SSL V3 cipher C02F skipped due to key algorithm
INFO edit_ciphers(): SSL V3 EC cipher C024 skipped because
EC ciphers unavailableINFO edit_ciphers(): SSL V3 EC cipher C023 skipped because EC ciphers unavailable
INFO edit_ciphers(): SSL V3 cipher 1303 skipped for TLS V1.2 sessions
INFO edit_ciphers(): SSL V3 cipher 1301 skipped for TLS V1.2 sessions
INFO edit_ciphers(): SSL V3 cipher 1302 skipped for TLS V1.2 sessions
ERROR edit_ciphers(): No SSL V3 cipher specs enabled for TLS V1.0 + TLS V1.2
ERROR edit_ciphers(): No SSL V3 cipher specs enabled for TLS V1.0 + TLS V1.2
ERROR send_v3_alert(): Sent SSL V3 alert 40 to 10.1.0.2[38738]
INFO gsk_write_v3_record(): Calling write routine for 7 bytes
INFO gsk_write_v3_record(): 7 bytes written
ERROR gsk_secure_socket_init(): SSL V3 server handshake failed with 10.1.0.2[38738]
Colin
------------------------------
Colin Paice
------------------------------