-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change how .conf and .ovpn files are generated (#190)
Prior to this, .ovpn would include the .conf file, which means the external references to files were also included. Now the main template has been split into 2 files: client.erb (included in both .conf and .ovpn) and client_external_auth.erb (included only in .conf) This should fix issue #187
- Loading branch information
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ca keys/<%= @name %>/ca.crt | ||
cert keys/<%= @name %>/<%= @name %>.crt | ||
key keys/<%= @name %>/<%= @name %>.key | ||
<% if @tls_auth -%> | ||
|
||
# tls authentification | ||
tls-client | ||
tls-auth keys/<%= @name %>/ta.key 1 | ||
<% end -%> |