summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2024-01-16 21:51:45 +0100
committerTimotej Lazar <timotej.lazar@araneo.si>2024-01-16 21:51:45 +0100
commit8af9546e60a996d18b9cbeb43f44875d24b8cdcd (patch)
tree8c5dcf461c47765b2fa5e68dc03d2b88edc9334c /README.md
parent7d04aa3d86b9564f01242a347e2a861afae7c05d (diff)
Minor tweaks
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 5 insertions, 8 deletions
diff --git a/README.md b/README.md
index b0a9e13..79eb765 100644
--- a/README.md
+++ b/README.md
@@ -4,19 +4,18 @@ Python script to replace [MargTools](https://businessconnect.margis.si/output/#o
## Usage
-
-### Configure certificates and sites
-
Create the configuration file `~/.margfools`. The contents are described in the sections below.
-#### Certificates in files
+### Certificates in files
+
If you are using certificate files, add the paths to your TLS private key and certificate in PEM format:
[https://gcsign.example.com/BCSign/]
user-key = <path/to/key.pem>
user-cert = <path/to/cert.pem>
-#### Certificates on smartcards
+### Certificates on smartcards
+
If you have your certificate on a PIV-II smart card (e.g. Yubikey), first determine the slot on your card which contains the certificate you wish to use:
pkcs11-tool -O
@@ -25,12 +24,10 @@ Look for "ID:" in the output.
Assuming the ID of your certificate was 07, specify the engine and certificate slot in your config file:
-
[https://gcsign.example.com/BCSign/]
- engine=pkcs11
+ engine = pkcs11
user-key = 07
-
You will be asked for your pin during signing.
### Add URL schema