Page 1 of 1

Disable HTTPS in EVE-NG PRO

Posted: Mon Oct 07, 2019 6:51 am
by gpinero
Hi, I had working my EVE-NG installation throught Nginx proxy but when I upgraded to new version 2.0.6-1-PRO.

1 - Fist I disable https in Apache 2.4
2 - Tomcat listening external 0.0.0.0

Result I cannot login in eve

API seens continue going to https

ErrorException: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/unetlab/html/includes/functions.php:1841
Stack trace:
#0 [internal function]: Slim\Slim::handleErrors(2, 'file_get_conten...', '/opt/unetlab/ht...', 1841, Array)
#1 /opt/unetlab/html/includes/functions.php(1841): file_get_contents('https://127.0.0...', false, Resource id #76)
#2 /opt/unetlab/html/includes/api_authentication.php(148): updateUserToken(Object(PDO), 'gpinero', '1')
#3 /opt/unetlab/html/api.php(136): apiLogin(Object(PDO), Object(PDO), Array, '0a7bf899-7cac-4...')
#4 [internal function]: {closure}()
#5 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#6 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#7 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#8 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#9 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#10 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#11 /opt/unetlab/html/api.php(1837): Slim\Slim->run()


How I can get API working using http only? If possible

Re: Disable HTTPS in EVE-NG PRO

Posted: Mon Oct 07, 2019 9:50 am
by ecze
This is totally unsupported.

Let services in EVE working as it has been designed... SSL is mandatory. Disabling it breaks html5 advanced features....

EVE is delivered as an appliance. So packages, os and services have to be kept untouched.

Regards,

E.

Re: Disable HTTPS in EVE-NG PRO

Posted: Tue Oct 08, 2019 6:43 am
by gpinero
Thanks for your reply, I leave it untouched