Welcome to the Linux Foundation Forum!

Chapter 13 - Pushing the Web-UI [ssl][error]

vlaskovic Posts: 13

Team and colleagues,


I am writing regarding Chapter 13 - Pushing the Web-UI.pdf lab and in subject pushing web-ui app in pcf dev version .29.

When testing web-ui SSL error received:


C:\Users\xxx\Documents\tmns\training\LinuxFoundation\CloudFoundry\LFS232\class-artifacts\web-ui\web-ui>curl http://web-ui-bright-klipspringer.local.pcfdev.io/people

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed



I have tried using http bu directly accessing /people and curl -k.

Tested via Web browser throws this identical SSL exception.


May you pls asists?



Additionally, in the logs on app start up I have noticed another error which does not directly affect app's running state:

2018-03-16T11:20:00.913+01:00 [CELL/0] [OUT] Starting health monitoring of container

2018-03-16T11:20:01.775+01:00 [APP/PROC/WEB/0] [ERR] [2018-03-16 10:20:01] INFO ruby 2.4.0 (2016-12-24) [x86_64-linux]

2018-03-16T11:20:01.775+01:00 [APP/PROC/WEB/0] [ERR] [2018-03-16 10:20:01] INFO WEBrick::HTTPServer#start: pid=5 port=8080

2018-03-16T11:20:01.775+01:00 [APP/PROC/WEB/0] [ERR] [2018-03-16 10:20:01] INFO WEBrick 1.3.1

2018-03-16T11:20:02.987+01:00 [CELL/0] [OUT] Container became healthy



Whilist when starting web-ui-static as instructed, another error type is written in console logs:

2018-03-16T11:30:33.630+01:00 [CELL/0] [OUT] Starting health monitoring of container

2018-03-16T11:30:33.803+01:00 [APP/PROC/WEB/0] [ERR] + nginx -p /home/vcap/app/nginx -c /home/vcap/app/nginx/conf/nginx.conf

2018-03-16T11:30:33.803+01:00 [APP/PROC/WEB/0] [ERR] + /home/vcap/app/start_logging.sh

2018-03-16T11:30:35.661+01:00 [CELL/0] [OUT] Container became healthy

Thank you,



Upcoming Training