Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console fails with SSL configured "unable to verify the first certificate" #10984

Closed
LeeDr opened this issue Mar 31, 2017 · 1 comment · Fixed by #11670
Closed

Console fails with SSL configured "unable to verify the first certificate" #10984

LeeDr opened this issue Mar 31, 2017 · 1 comment · Fixed by #11670
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools PR sent regression Team:Operations Team label for Operations Team

Comments

@LeeDr
Copy link

LeeDr commented Mar 31, 2017

Kibana version: 5.4.0-SNAPSHOT

Elasticsearch version: 5.4.0-SNAPSHOT

Server OS version: Ubuntu 14.04

Browser version: Chrome

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): .deb packages

Description of the problem including expected versus actual behavior:
The integration-test repo was recently changed to configure SSL for all products for 5.x and master branches. The Dev Tools > Console now fails with the message;
"Bad Gateway",\n "message": "unable to verify the first certificate"

Steps to reproduce:

  1. Follow docs to configure SSL between browser client and Kibana and between Kibana and Elasticsearch. I think the configuration is OK since everything else in Kibana works.
  2. Try the default request in Console
  3. <"statusCode": 502,\n "error": "Bad Gateway",\n "message": "unable to verify the first certificate"\n}'

Errors in browser console (if relevant):

POST https://localhost:5601/api/console/proxy?path=_search&method=POST 502 (Bad Gateway)
send @ commons.bundle.js?v=14944:30
ajax @ commons.bundle.js?v=14944:29
module.exports.send @ kibana.bundle.js?v=14944:292
sendNextRequest @ kibana.bundle.js?v=14944:291
(anonymous) @ kibana.bundle.js?v=14944:291
(anonymous) @ kibana.bundle.js?v=14944:293
explicitRangeToRequests @ kibana.bundle.js?v=14944:293
(anonymous) @ kibana.bundle.js?v=14944:293
(anonymous) @ kibana.bundle.js?v=14944:293
check @ kibana.bundle.js?v=14944:293

Provide logs and/or server output (if relevant):

{"type":"response","@timestamp":"2017-03-31T19:29:58Z","tags":[],"pid":2038,"method":"post","statusCode":502,"req":{"url":"/api/console/proxy?path=_aliases&method=GET","method":"post","headers":{"host":"localhost:5601","connection":"keep-alive","content-length":"0","pragma":"no-cache","cache-control":"no-cache","accept":"text/plain, */*; q=0.01","origin":"https://localhost:5601","kbn-version":"5.4.0-SNAPSHOT","user-agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36","referer":"https://localhost:5601/app/kibana","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.8"},"remoteAddress":"10.0.2.2","userAgent":"10.0.2.2","referer":"https://localhost:5601/app/kibana"},"res":{"statusCode":502,"responseTime":59,"contentLength":9},"message":"POST /api/console/proxy?path=_aliases&method=GET 502 59ms - 9.0B"}
@LeeDr LeeDr added Team:Operations Team label for Operations Team blocker bug Fixes for quality problems that affect the customer experience and removed blocker labels Mar 31, 2017
@LeeDr
Copy link
Author

LeeDr commented Mar 31, 2017

Adding this to kibana.yml makes console work;

console.proxyConfig:
    - ssl.verify: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools PR sent regression Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants