4s3ti
1bd8169aa6
Merge branch 'test' into master
2019-09-01 15:32:56 +02:00
Douglas Orend
8b40035bf5
Properly determine user's home directory
...
Code assumes that the specified user directory is under /home. This code parses the /etc/passwd file in order to determine what that user's proper home directory is.
2019-08-13 11:23:08 -05:00
IcedComputer
1d7ebd9d2f
added support to remove .ovpn12 files
...
the makeOVPN.sh now generates .ovpn12 files in the /home/${INSTALL_USER}/ovpns/ directory.
The remove script was updated to remove both the .ovpn and .ovpn12 files
2019-06-27 14:53:23 -07:00
Orazio
63d3335f33
Resolved merge conflict
2019-05-03 10:26:56 +02:00
Orazio
e3f729f260
General fixes and improvements
2019-03-03 10:18:45 +01:00
LMS235
d0f85e3429
right adjustment
...
-read for "other" withdrawn from .ovpn files
- delete also /etc/openvpn/easy-rsa/pki/${CERTS_TO_REVOKE[ii]}.ovpn after remove certificate
2018-12-24 14:24:20 +01:00
Jelle Dekker
077996cfb4
Removed an obsolete variable.
2017-09-23 11:21:26 -05:00
Jelle Dekker
30920115b3
Implemented that a Certificate Revocation List is generated during installation after generation of other Public Key Infrastructure. Enabled this CRL in the server config. The added benefit of this is that whenever the user now revokes a client, the change is instant. Whereas before, the first time a client was revoked, the OpenVPN server had to be restarted to enabled the then-newly-generated CRL. This change also makes the file /etc/pivpn/REVOKE_STATUS obsolete.
...
Documentation: https://openvpn.net/index.php/open-source/documentation/howto.html#revoke
2017-09-22 02:46:52 -05:00
EWouters
56f24aa372
added command line option to (batch) remove certs
...
::: Revoke a client ovpn profile
:::
::: Usage: pivpn <-r|revoke> [-h|--help] [<client-1>] ... [<client-n>]
...
:::
::: Commands:
::: [none] Interactive mode
::: <client> Client(s) to to revoke
::: -h,--help Show this help dialog
2017-03-15 02:36:12 +13:00
Kaladin Light
22b5bfef68
Add fix iptables help to debug script (1/2)
2016-12-11 13:36:14 -05:00
Kaladin Light
43a8a706e2
Fix revoke, Fixes Issue #164
2016-12-08 09:59:19 -05:00
Kaladin Light
596e6c8277
Phase 3 (of 3?): pivpn modifications for easy-rsa3
...
This updates pivpn revoke
2016-12-06 11:44:07 -05:00
redfast00
a68435e6c3
cleaned up removeOVPN.sh
2016-10-04 21:02:02 +02:00
Kaladin Light
8f09ee9afd
Fixes for Debian support
2016-05-25 17:58:08 -04:00
Kaladin Light
a432e187b9
Don't get CN list by counting columns as it is wholly unreliable.
...
If user had space in some cert fields, like city was "Fort Worth"
the current way would have fell apart.
This fixes these issues in 'pivpn list' and hence 'pivpn revoke'
2016-05-15 13:20:36 -04:00
Kaladin Light
2f3540b898
Robustize OS Detection.
...
This is framework needed to support Ubuntu 16.04 which
is coming in a future commit.
2016-05-10 11:49:29 -04:00
Kaladin Light
67e537b7fa
Fix revoke, seems i missed some merges from my recent rework
2016-05-07 13:20:09 -04:00
Kaladin Light
dea112f50f
Fixes #23 , enhance 'pivpn add', minor bug fixes & other enhancements
2016-05-05 21:04:57 -04:00
Kaladin Light
53565dd4fe
First commit of reworked installer
2016-04-19 14:01:55 -04:00