# Https for kibana 3

**URL:** https://discuss.elastic.co/t/https-for-kibana-3/2280
**Category:** Kibana
**Created:** [June 10, 2015, 8:21am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280 "2015-06-10T08:21:07Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![it2](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@it2](https://discuss.elastic.co/u/it2)
#### Post date: [June 10, 2015, 8:21am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/1 "2015-06-10T08:21:07Z")

</div>

Hi there!  
I have ES+logstash+Kibana3 on my node.  
I set up apache on 80 port for kibana, but when I try to enable https on 443 port, kibana is not loading.  
My conf:

```
<VirtualHost *:80>
        ServerName logstash.domain.com
        DocumentRoot /var/www/kibana3
<Directory />
        AuthzLDAPAuthoritative off
        AuthName "Enter your LDAP credentials"
        AuthType Basic
        AuthBasicProvider ldap
        AuthLDAPURL "ldaps://ipaddress/cn=users,dc=int,dc=domain,dc=com?sAMAccountName?sub?(objectClass=*)"
        AuthLDAPBindDN "name"
        AuthLDAPBindPassword "pass"
        require valid-user
        Options FollowSymLinks
        AllowOverride None
</Directory>
<Directory /var/www/kibana3/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn
</VirtualHost>

```

When I trying 443 port I enter:

```
<VirtualHost *:80>
    ServerName logstash.domain.com
    Redirect "/" "https://logstash.domain.com/"
</VirtualHost>

<VirtualHost *:443>
        ServerName logstash.domain.com
        SSLEngine on
        SSLCompression off
        SSLProtocol All -SSLv2 -SSLv3
        SSLCipherSuite AES128+EECDH:AES128+EDH
        SSLCertificateFile /etc/apache2/ssl/domain.crt
        SSLCertificateKeyFile /etc/apache2/ssl/domain.key
        ...config...

```

And in config.js i have next: elasticsearch: "http://"+window.location.hostname+":9200"  
Please, some advice!

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [June 10, 2015, 8:50am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/2 "2015-06-10T08:50:29Z")

</div>

What does "Kibana is not loading" mean? Is the static landing page not loading at all? Or is Kibana just enable to contact Elasticsearch?

---

<div class="post-metadata">

### Author: ![it2](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@it2](https://discuss.elastic.co/u/it2)
#### Post date: [June 10, 2015, 8:57am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/3 "2015-06-10T08:57:08Z")

</div>

It's looks like it connects with ES  
Here is screenshot: [http://prntscr.com/7f9m3u](http://prntscr.com/7f9m3u)  
I dont see any dashboards or default kibana page.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [June 10, 2015, 9:56am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/4 "2015-06-10T09:56:02Z")

</div>

Checking the browser's debug console is often useful.

---

<div class="post-metadata">

### Author: ![it2](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@it2](https://discuss.elastic.co/u/it2)
#### Post date: [June 10, 2015, 11:28am UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/6 "2015-06-10T11:28:25Z")

</div>

and in chrome i see  
Mixed Content: The page at '[https://logstash-cloud1.domain.com/](https://logstash-cloud1.domain.com/)' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '[http://logstash-cloud1.domain.com:9200/\_nodes](http://logstash-cloud1.domain.com:9200/_nodes)'. This request has been blocked; the content must be served over HTTPS.(anonymous function) @ /app/app.js:9  
app.js:9 Mixed Content: The page at '[https://logstash-cloud1.domain.com/#/dashboard](https://logstash-cloud1.domain.com/#/dashboard)' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '[http://logstash-cloud1.domain.com:9200/\_nodes](http://logstash-cloud1.domain.com:9200/_nodes)'. This request has been blocked; the content must be served over HTTPS.

---

<div class="post-metadata">

### Author: ![it2](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@it2](https://discuss.elastic.co/u/it2)
#### Post date: [June 10, 2015, 1:00pm UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/7 "2015-06-10T13:00:48Z")

</div>

I solved this problem.  
I add this in apache:

```
ProxyRequests off
ProxyPass /elasticsearch/ http://192.168.198.210:9200/
<Location /elasticsearch/>
        ProxyPassReverse /
        SSLRequireSSL
</Location>

```

and in config.js I rewrite this:  
elasticsearch: "http://"+window.location.hostname+":9200",  
to this:  
elasticsearch: "https://"+window.location.hostname+"/elasticsearch",

---

<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 6, 2017, 2:18pm UTC](https://discuss.elastic.co/t/https-for-kibana-3/2280/8 "2017-07-06T14:18:20Z")

</div>


