- create a new certificate with
certutil
command:certutil -S \ -s "CN=[ your full name ],O= [ Business or School ],OU=[ Deparment or position ],L= [ Location ],ST=[ State ],C= [ Country code ],E= [ your email ]" \ -g 2048 \ -d sql:$HOME/.pki/nssdb \ -n [ new name of certificate ] \ -x \ -t "Cu,Cu,Cu" \ -p 405-555-5555 \ --email [ your email ] \ -m 1234
- List the created certificate:
certutil -d sql:$HOME/.pki/nssdb -L
- Open Okular and go to: Settings > configure backends > PDF
- In the section: Certificate database, choose Custom and enter this path:
$HOME/.pki/nssdb
- Apply and Restart Okular, and then you'd see the available certificate in the options of step 4 to sign digitally.
Created
October 15, 2023 03:44
-
-
Save mbohun/54e3ef90a35fad2d5a5e9861fd1fdc7d to your computer and use it in GitHub Desktop.
Okular certutils digital_sign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment