Jérémy Dubois
a026f2dbd4
README forgot a line
6 months ago
Jérémy Dubois
6870dbbc37
Update README : how to create or revoke many certificates at once
6 months ago
Jérémy Dubois
480ead3ff2
Merge pull request 'rewrite' ( #5 ) from dev into master
...
Reviewed-on: #5
10 months ago
Jérémy Dubois
754c3455e0
Release 22.04
10 months ago
Jérémy Dubois
d614079138
Update CHANGELOG
10 months ago
Jérémy Dubois
7a034a2a17
Some files must be copied to ansible-roles/openvpn
10 months ago
Jérémy Dubois
42de07cb66
Add version to files that will be copied out of this repo so that we easily know if they will need an update
10 months ago
Jérémy Dubois
992fde0930
Precising that the --end-date hour is in UTC +0
10 months ago
Jérémy Dubois
6165ccec6c
Generate CRL only if (re)generating CA
10 months ago
Jérémy Dubois
55e02c6a13
Check if CN already exists only after having asked for user password
...
Otherwise, with "-p", "--replace-existing" and "--non-interactive", with
CA_PASSWORD set but PASSWORD unset, the existing certificate was revoked but
the new one could'nt be created. Now, PASSWORD must be set or the exisiting
certificate won't be revoked
10 months ago
Jérémy Dubois
ba2f553ef4
Do not use --password and --password-file together
10 months ago
Jérémy Dubois
97f1affa1b
Create crl file after init of PKI
10 months ago
Jérémy Dubois
14a65fa42d
Change SUFFIX to use human readable date instead of epoch
10 months ago
Jérémy Dubois
c76b7a02ca
Split show_usage for each subcommand, add --version and --help in addition to version and help, update VERSION
10 months ago
Jérémy Dubois
1fa4ff205e
Parse date in ISO format rather than US format
10 months ago
Jérémy Dubois
554f6166c9
Forget to delete a debug line
10 months ago
Jérémy Dubois
85c3324713
Update Copyright
10 months ago
Jérémy Dubois
9f13a42355
Handle the case where --days argument is not a number or a negative one
...
Before this test, the error was displayed but ignored and the certificate was
still created depending on the default_days value in openssl.cnf
10 months ago
Jérémy Dubois
abf6fb131c
Do not use --end-date and --days together
10 months ago
Jérémy Dubois
191ba257d9
Fix parsing options when no option is given
10 months ago
Jérémy Dubois
e42af2183c
Fix --non-interactive behavior: there were still some prompts to the user
10 months ago
Jérémy Dubois
a640892ecb
Syntax: no space before ":"
10 months ago
Jérémy Dubois
6d71a5a177
Fix end-date format depending on system
10 months ago
Jérémy Dubois
047c6e334a
Improve README and show_usage
10 months ago
Jérémy Dubois
5f27702f17
Delete ovpn.conf.example unnecessary here
...
shellpki alone is not enough to install OpenVPN, and the openvpn role provides
the openvpn server configuration
10 months ago
Jérémy Dubois
50fc8c2d21
README file : delete unnecessary leading spaces
11 months ago
Jérémy Dubois
d0c6a55538
README file and show_usage function : replace "cert" with "certificate"
11 months ago
Jérémy Dubois
da7809f3c0
Update README file and show_usage function : forgotten information
11 months ago
Jérémy Dubois
4a2e5c93f1
Update README file and show_usage function
11 months ago
Jérémy Lecour
d48dc132be
fix replace-existing and non-interactive confict
11 months ago
Jérémy Dubois
69db5a80aa
More conventional "list" parsing
11 months ago
Jérémy Dubois
c92f7a5a7e
Change ovpn example file to match the openvpn ansible role and wiki
11 months ago
Jérémy Dubois
af24b1469d
Add nobind option to client config
11 months ago
Jérémy Lecour
e8ced03988
add .ovpn example
11 months ago
Jérémy Lecour
4bb24707b0
simplify "list" options parsing
11 months ago
Jérémy Lecour
10edbb19fa
init can be "non-interactive"
11 months ago
Jérémy Lecour
6cc29fb1f8
reorder functions
11 months ago
Jérémy Lecour
68e4648694
fix shellcheck violations
11 months ago
Jérémy Lecour
41d0ca261d
extract get_real_path function to normalize readlink arguments
11 months ago
Jérémy Lecour
593cf4a9f3
show usage if list has no argument, instead of "set -u" error
11 months ago
Jérémy Dubois
4b2b8a95ff
cert-expirations.sh: search for valid certificates in the index file rather than in a directory where files could be deleted with the certificates still being valids
12 months ago
Jérémy Dubois
92ee845207
New script cn-validation.sh for OpenVPN
2 years ago
Jérémy Dubois
fb22db8dac
cert-expirations.sh => certificates names can contain upper case characters
2 years ago
Jérémy Dubois
0bf2bfe60c
cert-expirations.sh : warning about UTC hours
2 years ago
Jérémy Dubois
847694339c
cert-expirations.sh => certificates names can contain "_" in it
2 years ago
Jérémy Dubois
9deb73b548
cert-expirations.sh => certificates names can contain "@" in it
2 years ago
Jérémy Dubois
ff7737e733
Add backup carp check to cert-expirations.sh
2 years ago
Jérémy Lecour
9f3b0a4cd4
list: better options parsing
2 years ago
Jérémy Lecour
83d0ef2449
"shellpki revoke" can be run interactively or not
2 years ago
Jérémy Lecour
c83f210387
default values for variables in tests
2 years ago