web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Docker on-premise sandbox certificate error

(0) ShareShare
ReportReport
Posted on by 1,165

Hi All,

I've downloaded BC latest version available from MS from Docker and get the website up and running. Running on laptop as a sandbox for testing visual studio code and creating extensions

installed with below log

Container IP Address: 172.28.156.5

Container Hostname  : 1dcb2f7d29c9

Container Dns Name  : 1dcb2f7d29c9

Web Client          : https://1dcb2f7d29c9/BC/

Admin Username      : admin

Admin Password      : Poxi0136

Dev. Server         : https://1dcb2f7d29c9

Dev. ServerInstance : BC

 

Files:

1dcb2f7d29c9:8080/ALLanguage.vsix

1dcb2f7d29c9:8080/certificate.cer

However certificate error appears and the issue is now I cannot connect visual studio code

version: AU Business Central 16.1 (Platform 16.0.12630.13573 + Application 16.1.12629.13608)

BC-docker-certificate-error.jpg

when trying to connect visual studio code below error appears

selected 5.0 BC 2020 wave 1

launch.json

    "version""0.2.0",
    "configurations": [
        {
            "type""al",
            "request""launch",
            "name""Your own server",
            "server""https://1dcb2f7d29c9",
            "serverInstance""BC",
            "authentication""UserPassword",
            "startupObjectId"22,
            "startupObjectType""Page",
            "breakOnError"true,
            "launchBrowser"true,
            "enableLongRunningSqlStatements"true,
            "enableSqlInformationDebugger"true
        }
    ]
}

Error

[2020-06-09 16:10:42.11] Targeting server '1dcb2f7d29c9' and server instance 'BC'.
[2020-06-09 16:10:42.12] Using user name and password authentication. User name used is: 'admin'.
[2020-06-09 16:10:42.13] Sending request to 1dcb2f7d29c9:7049/.../packages
[2020-06-09 16:10:42.13] Sending request to 1dcb2f7d29c9:7049/.../packages
[2020-06-09 16:10:42.14] Sending request to 1dcb2f7d29c9:7049/.../packages
[2020-06-09 16:10:44.51] Error: The SSL connection could not be established, see inner exception.
The remote certificate is invalid according to the validation procedure.

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Have you installed the certificate on your local machine?

  • Anita75 Profile Picture
    1,165 on at

    Good question, how do I install a certificate on docker, I mean self signed certificate since this a sandbox with demo data

  • Daniel Rimmelzwaan Profile Picture
    3,485 on at

    Did you use NavContainerHelper to create your container?

    This post has a treasure trove of information about Docker: freddysblog.com/.../

  • Verified answer
    Anita75 Profile Picture
    1,165 on at

    Thanks the link provided is great and I'll try NavContainerHelper

    Since then used an on-prem version (without Docker) and seems to be fine

  • jdrco Profile Picture
    481 on at

    I am getting this error on my cloud sandbox (not sure why). A little background, the error started showing up for me after installing a new VM on my host machine.

    How do I install the required certificate for this to work?

    Thanks,

    J

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,630

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 800 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 789 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans