Docker https ssl error

Hello everyone,

I’am new to docker and passbolt.

The situation: local machine ubuntu 16.04 with docker installed.

I got the image form followed the the steps in the discription. Except for Build the image.

Now i get the error on port 80 400 bad request The plain HTTP request was sent to HTTPS port

and on port 443: An error occurred during a connection to localhost:32771. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG

I don’t know where to start looking to fix this problem.

Hi @kbrand could you specify which version/tag of passbolt have you pulled from the docker hub?

i got the latest image that was created about 8 weeks ago.

Just to be in the same page I guess you executed the following:
(Assuming there are no other containers running which would change the ip address assign to mysql container and docker container I encourage you to check the ip address of the containers though):

$ docker run -e MYSQL_ROOT_PASSWORD=<your_root_password> \
             -e MYSQL_DATABASE=passbolt \
             -e MYSQL_USER=passbolt \
             -e MYSQL_PASSWORD=P4ssb0lt \
             --name mysql \

You can obtain the mysql container ip address:

$ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mysql

and then start passbolt:

$ docker run -e DB_HOST= --name passbolt passbolt/passbolt

Once the container is started on the terminal you should see on the terminal:
Passbolt installation success! Enjoy! ☮

After this process it would be good to add passbolt.local to /etc/hosts pointing to the ip address of the passbolt container:

$ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' passbolt

Last line of /etc/hosts file should look like: passbolt.local

If you browse then http://passbolt.local you see the error you are providing?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.