fix pkcs12 on android
This commit is contained in:
parent
04110a73ed
commit
88d1eed90e
|
@ -109,7 +109,7 @@ window.client_cert = {
|
||||||
var keypair = form.data('keypair');
|
var keypair = form.data('keypair');
|
||||||
var p12Asn1;
|
var p12Asn1;
|
||||||
if (password == '') {
|
if (password == '') {
|
||||||
p12Asn1 = pkcs12.toPkcs12Asn1(keypair.privateKey, certs, null); // without password
|
p12Asn1 = pkcs12.toPkcs12Asn1(keypair.privateKey, certs, null, {algorithm: '3des'}); // without password
|
||||||
} else {
|
} else {
|
||||||
p12Asn1 = pkcs12.toPkcs12Asn1(keypair.privateKey, certs, password, {algorithm: '3des'}); // without password
|
p12Asn1 = pkcs12.toPkcs12Asn1(keypair.privateKey, certs, password, {algorithm: '3des'}); // without password
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue