Welcome! Log In Create A New Profile

Advanced

Re: Securing the HTTPS private key

Robert Paprocki
November 14, 2018 03:22PM
Hi,

You might want to consider something like OpenResty, which allows for serving certificates on the fly with Lua logic. You can use this to fetch cert/key material via Vault or some other secure data store that can be accessed via TCP (or you could also keep the encrypted private key on-disk and fetch the secret at worker initialization via some Lua logic). See https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md for an example of the former.

> On Nov 14, 2018, at 12:17, Roger Fischer <roger@netskrt.io> wrote:
>
> Hello,
>
> does NGINX support any mechanisms to securely access the private key of server certificates?
>
> Specifically, could NGINX make a request to a key store, rather than reading from a local file?
>
> Are there any best practices for keeping private keys secure?
>
> I understand the basics. The key file should only be readable by root. I cannot protect the key with a pass-phrase, as NGINX needs to start and restart autonomously.
>
> Thanks…
>
> Roger
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Securing the HTTPS private key

Roger Fischer November 14, 2018 03:18PM

Re: Securing the HTTPS private key

Robert Paprocki November 14, 2018 03:22PM

Re: Securing the HTTPS private key

Maxim Dounin November 15, 2018 08:04AM

Re: Securing the HTTPS private key

alexsamad November 15, 2018 05:42PM

Re: Securing the HTTPS private key

Roger Fischer November 16, 2018 01:04AM

Re: Securing the HTTPS private key

Anonymous User November 16, 2018 03:06AM

Re: Securing the HTTPS private key

Patrick Laimbock November 16, 2018 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 280
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready