@Cylindric, as @thomasneirynck wrote, I have tryed to use nginx as reverse proxy.
This is what I wrote in configuration file:
server {
listen 443;
server_name localhost;
#root html;
#index index.html index.htm;
ssl on;
ssl_certificate /etc/nginx/ssl/nginx.crt;
ssl_certificate_key /etc/nginx/ssl/nginx.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
#ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
#ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Authorization "Basic XXXXXXXXXXXXXXXXX";
proxy_pass https://XXXXXXXXXXXXXX.eu-west-1.aws.found.io/app/kibana;
}
}