Appendix C: Extract a public key from a JWS certificate
The JWS certificates of other DFSPs or the Hub downloaded from Connection Wizard are certificate chains, the public keys have to be extracted.
This section provides instructions about how to extract the public key from a DFSP’s or the Hub’s JWS certificate using the KeyStore Explorer tool.
Perform the following steps:
-
Open a keystore.
-
Import the other DFSP’s or the Hub’s JWS certificate using the Tools > Import Trusted Certificate menu. The Trusted Certificate Entry Alias window pops up.
-
Leave the alias value as is. Click OK.
-
In KeyStore Explorer, right-click the certificate.
-
Select Export > Export Public Key. The Export Public Key as OpenSSL window pops up.
-
Ensure that the PEM checkbox is selected.
-
Specify where you want to download the public key. The name of the key must remain the
fspId
name of the other DFSP as previously assigned by the Hub. Ensure that the file extension is.pem
. -
Click Export. You have successfully exported the public key.