# I am unable to access the Kibana domain name with HTTPS using SSL certificates

**URL:** <https://discuss.elastic.co/t/i-am-unable-to-access-the-kibana-domain-name-with-https-using-ssl-certificates/336224>\
**Category:** Kibana\
**Created:** [June 16, 2023, 12:57pm UTC](https://discuss.elastic.co/t/i-am-unable-to-access-the-kibana-domain-name-with-https-using-ssl-certificates/336224 "2023-06-16T12:57:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasanth\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prasanth_k/32/45100_2.png) [@Prasanth\_K](https://discuss.elastic.co/u/Prasanth_K)\
**Post date:** [June 16, 2023, 12:57pm UTC](https://discuss.elastic.co/t/i-am-unable-to-access-the-kibana-domain-name-with-https-using-ssl-certificates/336224/1 "2023-06-16T12:57:14Z")

</div>

```auto
Hi all, I am trying to access the Kibana URL with HTTPS using the domain name and SSL certificates associated with the domain. 
I have configured Nginx on CentOS OS for this purpose. However, I can successfully access the Kibana URL with HTTP, but I am unable to access it with HTTPS. 
There are no errors reported in the Nginx logs.

but getting this error when i am trying to connect https 
SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

port 443 allowed 

upstream kibana {
server ip:port number;
keepalive 15;
  }
server {
    listen 80;

    index index.php index.html index.htm index.nginx-debian.html;
    server_name example.dot.com;
    return 301 https://$host$request_uri;
}
server {
    listen 443 ssl;

    server_name example.dot.com;

    error_log /var/log/nginx/kibana.error.log;
  access_log /var/log/nginx/kibana.access.log;
  ssl_certificate /etc/nginx/ssl/STAR_com.crt;
  ssl_certificate_key /etc/nginx/ssl/sslpvt.key;
   
location /kibana {

        rewrite ^/kibana/?(.*)$ /$1 break;
        proxy_http_version 1.1;
        proxy_set_header Connection "";

        set $proxy_pass http://ipaddress:port;
        proxy_pass http://ipaddress:port;

        proxy_intercept_errors on;
        proxy_redirect off;
    }
}

Can anyone please help me with my issue? I am seeking assistance regarding my problem

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 14, 2023, 12:58pm UTC](https://discuss.elastic.co/t/i-am-unable-to-access-the-kibana-domain-name-with-https-using-ssl-certificates/336224/2 "2023-07-14T12:58:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
