Import https certificate in SSPR app but nothing is shown

Hi,

I am using SSPR v4.6.0.0 b30 r911c8eaa appliance. I imported https certificate (p12 format) and it was success but there was nothing show (No key present). 

I restarted server and the sspr app sitll used the default self-signed cert. Please help to recommend because my signed certificate can be used with other web application except sspr. 

 

Plase see the error below that i got from sspr log. 

2024-02-28T10:48:09Z, ERROR, value.PrivateKeyValue, error reading privateKey: java.security.InvalidKeyException: Invalid RSA private key (stacktrace follows) java.lang.Throwable: java.security.InvalidKeyException: Invalid RSA private key at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:251) at java.base/java.security.KeyFactory.generatePrivate(KeyFactory.java:390) at password.pwm.config.value.PrivateKeyValue$1.fromXmlElement(PrivateKeyValue.java:92) at password.pwm.config.value.PrivateKeyValue$1.fromXmlElement(PrivateKeyValue.java:59) at password.pwm.config.value.ValueFactory.fromXmlValues(ValueFactory.java:63) at password.pwm.config.stored.StoredConfigurationImpl.readSetting(StoredConfigurationImpl.java:810) at password.pwm.config.stored.StoredConfigurationImpl.isDefaultValue(StoredConfigurationImpl.java:391) at password.pwm.config.stored.StoredConfigurationUtil.modifiedSettings(StoredConfigurationUtil.java:116) at password.pwm.health.CertificateChecker.doActionHealthCheck(CertificateChecker.java:98) at password.pwm.health.CertificateChecker.doHealthCheck(CertificateChecker.java:61) at password.pwm.health.HealthMonitor.doHealthChecks(HealthMonitor.java:225) at password.pwm.health.HealthMonitor.access$400(HealthMonitor.java:44) at password.pwm.health.HealthMonitor$ImmediateUpdater.run(HealthMonitor.java:304) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.Throwable: Invalid RSA private key at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.parseKeyBits(RSAPrivateCrtKeyImpl.java:285) at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:342) at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:355) at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(RSAPrivateCrtKeyImpl.java:130) at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(RSAPrivateCrtKeyImpl.java:80) at java.base/sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:356) at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:247) ... 17 more Caused by: java.lang.Throwable: Version must be 0 at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.parseKeyBits(RSAPrivateCrtKeyImpl.java:263) ... 23 more

Thanks,

Chainarong R.