wiki/HowtoShellpki.md
2022-06-30 15:48:16 +02:00

27 lines
739 B
Markdown

---
categories: vpn openvpn security network
title: Howto shellpki
...
[shellpki](https://gitea.evolix.org/evolix/shellpki) est un script Shell pour gérer une petite [PKI](https://fr.wikipedia.org/wiki/Infrastructure_%C3%A0_cl%C3%A9s_publiques) en ligne de commandes.
## Installation
Voir le [README](https://gitea.evolix.org/evolix/shellpki#install) du projet.
## Utilisation
Voir le [README](https://gitea.evolix.org/evolix/shellpki#usage) du projet.
## Troubleshooting
### TXT_DB error
À la création d'un certificat, si nous avons l'erreur suivante :
~~~
failed to update database
TXT_DB error number 2
~~~
Il faut éditer le fichier /etc/openvpn/ssl/ca/index.txt et supprimer la ligne concernant le CN qui pose problème.