Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline certificates in config #217

Open
rvolosatovs opened this issue Jun 23, 2022 · 1 comment
Open

Inline certificates in config #217

rvolosatovs opened this issue Jun 23, 2022 · 1 comment

Comments

@rvolosatovs
Copy link
Member

rvolosatovs commented Jun 23, 2022

It would be nice to have support for inlining certificates in config files

From #215 (comment)

@rjzak
Copy link
Member

rjzak commented Jun 23, 2022

OpenVPN example:

dev tun
persist-tun
persist-key
cipher AES-128-CBC
auth SHA256
tls-client
client
remote 1.2.3.4 443 tcp-client
auth-user-pass
remote-cert-tls server

# CA cert
<ca>
-----BEGIN CERTIFICATE-----
MII...
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
MII...
-----END CERTIFICATE-----
</ca>
# User cert signed by CA
<cert>
-----BEGIN CERTIFICATE-----
MII...
-----END CERTIFICATE-----
</cert>
# User privaye key
<key>
-----BEGIN PRIVATE KEY-----
MII...
-----END PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
# OpenVPN static key
-----BEGIN OpenVPN Static key V1-----
xyz123
-----END OpenVPN Static key V1-----
</tls-auth>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants