File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,13 @@ ASN1 OID: prime256v1
258
258
NIST CURVE: P-256
259
259
```
260
260
261
+ ** Cross-check** : Convert the private and public key into DER format encoded as a hex string that can be set in the configuration file:
262
+ ``` bash
263
+ % openssl pkcs8 -in privkey.pem -topk8 -nocrypt -outform der -out privkey.der
264
+ % xxd -p privkey.der | tr -d ' \n' | sed ' s/../\\x&/g' > privkey.hex
265
+ ```
266
+ Copy the contents of privkey.hex (single line) into the private_key stanza in the configuration file. Repeat the process for the public key.
267
+
261
268
** Cross-check** : Once the CTFE is configured and running
262
269
([ below] ( #ctfe-start-up ) ), the ` ctclient ` command-line tool allows signature
263
270
checking against the public key with the ` --pub_key ` option:
You can’t perform that action at this time.
0 commit comments