What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

OpenVPN ca.key stored ?

Rooby

Regular Contributor
Hello

I just looked at the /jffs/openvpn/ foder and I found a vpn_crt_server1_ca_key file.
I also found ca.key on /etc/openvpn/server1/
But ca.key should never be stored on the router only the ca.crt.

Also there is a vpn_crt_server_client_crt and vpn_crt_server_client_key file . But I have not enabled any OpenVP client on the router.

Are these files filled with random values ? Are they somehow used?

Rooby
 
If you let the router automatically generate a CA for you, then it will need to generate a key before it can generated the self-signed CA (which will be used to sign the server certificate).

I assume Asus preserve these files because, since they are auto-generated, they can't be stored anywhere else without user intervention, and the user might need them if he were to expand the default configuration into one involving client certificates.

If you need to tighten security, then my recommendation would be to not rely on the auto-generated files, and generate everything yourself using Easy-RSA or otherwise. Then you can keep only what is really necessary on your router, and move the rest elsewhere.
 
Thanks RMerlin.
I do my keys anyway be myself. So you mean I can delete the ones which are not used?
 
Thanks RMerlin.
I do my keys anyway be myself. So you mean I can delete the ones which are not used?

Yes, tho they shouldn't have any impact anyway if they aren't used.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top