File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ docker-compose logs -f
48
48
``` bash
49
49
export CLIENTNAME=" your_client_name"
50
50
# with a passphrase (recommended)
51
- docker-compose exec openvpn easyrsa build-client-full $CLIENTNAME
51
+ docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME
52
52
# without a passphrase (not recommended)
53
- docker-compose exec openvpn easyrsa build-client-full $CLIENTNAME nopass
53
+ docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass
54
54
```
55
55
56
56
* Retrieve the client configuration with embedded certificates
57
57
58
58
``` bash
59
- docker-compose exec openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME .ovpn
59
+ docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME .ovpn
60
60
```
61
61
62
62
## Debugging Tips
You can’t perform that action at this time.
0 commit comments