RFR 8201290: keytool importcert fails with CertificateParsingException if unknown certificate algorithms should be imported

Weijun Wang weijun.wang at oracle.com
Mon Aug 6 15:14:33 UTC 2018


That would be a real behavior change and I want to be safe.

-providername is now used by "keytool -importcert" to choose keystore implementations. I am not sure if someone already using -providername for this purpose might encounter any unexpected change.

We can rethink about this decision if there is a real world problem. Maybe a single -providername is inadequate for complicated scenarios.

Thanks
Max


> On Aug 6, 2018, at 10:38 PM, Xuelei Fan <xuelei.fan at oracle.com> wrote:
> 
> Maybe, the specified provider should be honored firstly?
> 
> Xuelei
> 
> On 8/6/2018 1:53 AM, Weijun Wang wrote:
>> Ping again.
>> Also please take a review at the CSR at https://bugs.openjdk.java.net/browse/JDK-8208689.
>> Thanks
>> Max
>>> On Aug 2, 2018, at 10:28 AM, Weijun Wang <weijun.wang at oracle.com> wrote:
>>> 
>>> Please take a review at
>>> 
>>>  http://cr.openjdk.java.net/~weijun/8201290/webrev.00/
>>> 
>>> Please note I didn't use srcProviderName as suggested in the bug report. It was designed to be used by the "keytool -importkeystore" command only.
>>> 
>>> Thanks
>>> Max
>>> 




More information about the security-dev mailing list