Create how-to-generate-self-signed-document-signing-certificate.md

This commit is contained in:
Amol
2024-05-22 02:35:09 +05:30
committed by GitHub
parent 175eb921c1
commit 792b48b75a
@@ -0,0 +1,11 @@
---
title: How to generate self-signed document signing certificate?
---
# Steps to generate self-signed document singing certificate for testing OpenSign
```
# execute below command and use passphrase 'opensign'
openssl genrsa -des3 -out ./local_dev.key 2048
openssl req -key ./local_dev.key -new -x509 -days 365 -out ./local_dev.crt
openssl pkcs12 -inkey ./local_dev.key -in ./local_dev.crt -export -out ./local_dev.pfx
openssl base64 -in ./local_dev.pfx -out ./base64_pfx
```