Hi,
We are using Kong in Db less mode along with Kong Ingress controller. We use custom config templates for both kong and nginx. To keep the connection secure, we also provide our ssl certificates to the following configuration fields in the respective files:
We have use case to upload new certificates while the system is online. If we do a soft reload of kong using “kong reload”, it is losing the routes/services info from kong instance till the kong ingress controller container is restarted.
Is there any other better approach to do soft restart such that the new certificates get used?
server {
server_name _;
resolver %%DNS_SERVICE_IP%%;
listen $(proxy_listeners[2].listener);
if proxy_ssl_enabled then
ssl_ciphers %%SSL_CIPHERS%%;
ssl_certificate ${{SSL_CERT}};
ssl_certificate_key ${{SSL_CERT_KEY}};
ssl_protocols TLSv1.1 TLSv1.2;# omit SSLv3 because of POODLE (CVE-2014-3566)
end
include /etc/kong/ssl_common.conf;
}