ADDITIONAL SYSTEM INFORMATION :
Operating System: KDE neon 5.21(Ubuntu 20.04)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-67-generic
OS Type: 64-bit
Graphics Platform: X11
failed on:
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
success on:
java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
A DESCRIPTION OF THE PROBLEM :
Try add trust cert(GOST key, keyalg: 1.2.643.7.1.1.3.2) in cacerts, but got error. If add TLS cert all ok.
REGRESSION : Last worked in version 8
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
keytool -import -trustcacerts -alias gostcryptopro -keystore /etc/ssl/certs/java/cacerts -file gostcryptopro.crt
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
cert added to cacerts
ACTUAL -
keytool error: java.util.MissingResourceException: Can't find resource for bundle sun.security.tools.keytool.Resources, key unknown.size.1
---------- BEGIN SOURCE ----------
source gostcryptopro.crt:
-----BEGIN CERTIFICATE-----
MIIIqzCCCFigAwIBAgIQR0KOAIur3r1PmMlzl4Lf4jAKBggqhQMHAQEDAjCCASMx
HzAdBgkqhkiG9w0BCQEWEHFjYUBjcnlwdG9wcm8ucnUxGDAWBgUqhQNkARINMTAz
NzcwMDA4NTQ0NDEaMBgGCCqFAwOBAwEBEgwwMDc3MTcxMDc5OTExCzAJBgNVBAYT
AlJVMRgwFgYDVQQIDA83NyDQnNC+0YHQutCy0LAxGTAXBgNVBAcMENCzLiDQnNC+
0YHQutCy0LAxOjA4BgNVBAkMMdGD0LsuINCY0LHRgNCw0LPQuNC80L7QstCwLCDQ
tC4gMzEsINC+0YTQuNGBIDMw0JExJTAjBgNVBAoMHNCe0J7QniAi0JrQoNCY0J/Q
otCeLdCf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