Skip to content

Commit

Permalink
The wrong 'certificate' was being used
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-dev committed Sep 11, 2023
1 parent 1b7ba56 commit a61488c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ private Certificate parseCertificate(
storeCertificate(
certificateType,
file.getOriginalFilename(),
messages, (Certificate)i.next());
messages, new CertificateAuthorityCredential(((java.security.cert.Certificate)i.next()).getEncoded()));
}

// stop the main thread from saving/storing
Expand Down

0 comments on commit a61488c

Please sign in to comment.