Disable HTTPS in EVE-NG PRO

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
User avatar
gpinero
Posts: 16
Joined: Wed Mar 06, 2019 10:18 pm

Disable HTTPS in EVE-NG PRO

Post by gpinero » Mon Oct 07, 2019 6:51 am

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

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: Disable HTTPS in EVE-NG PRO

Post by ecze » Mon Oct 07, 2019 9:50 am

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.

User avatar
gpinero
Posts: 16
Joined: Wed Mar 06, 2019 10:18 pm

Re: Disable HTTPS in EVE-NG PRO

Post by gpinero » Tue Oct 08, 2019 6:43 am

Thanks for your reply, I leave it untouched

Post Reply