howtos:add_trusted_ca
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | howtos:add_trusted_ca [16/02/2023 07:07] (current) – domingo | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Make CA or Certificate trusted ====== | ||
+ | For the time being there is no gui way of trusting a certificate in Chrome on Linux. | ||
+ | |||
+ | To trust a certificate/ | ||
+ | |||
+ | **__1. Install certutil__** | ||
+ | < | ||
+ | sudo apt-get install libnss3-tools | ||
+ | </ | ||
+ | **__2. Run certutil__** | ||
+ | < | ||
+ | certutil -d sql: | ||
+ | </ | ||
+ | |||
+ | The certificate is inside the file called //" | ||
+ | ====== Import script ====== | ||
+ | |||
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # usage: | ||
+ | # | ||
+ | REMHOST=$1 | ||
+ | REMPORT=${2: | ||
+ | exec 6>&1 | ||
+ | exec > $REMHOST | ||
+ | echo | openssl s_client -connect ${REMHOST}: | ||
+ | certutil -d sql: | ||
+ | exec 1>&6 6>&- | ||
+ | </ | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | Script source: http:// |
howtos/add_trusted_ca.txt · Last modified: 16/02/2023 07:07 by domingo