For those using Linux as their main OS...
Some Prerequisites...
If you have not allready instlled them these packages...
> apt install -y openssl libnss3-tools
First Create a Self Signed Cert...
> cd ~/> mkdir -p pki/nssdb> cd pki# Create a self-signed cert> openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out ss-pdf-x509.pem# Initialize the nssdb database> certutil -N -d nssdb/# Create the p12 file...> openssl pkcs12 -inkey key.pem -in ss-pdf-x509.pem -export -out ss-pdf-pkcs12.p12# Place cert into nssdb> pk12util -d nssdb/ -i ss-pdf-pkcs12.p12# List certs in our nssdb> certutil -L -d nssdb
Then, Setup LibreDraw to Find your Cert
- Start up LibreDraw.
- Goto: Tools -> Options -> LibreOffice -> Security -> Certificate Path -> Select NSS path
- Choose the ~/pki/nssdb
Hope this helps someone!
No comments:
Post a Comment