Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

x509: certificate signed by unknown authority [ ngrok ]

Tags:

ngrok

Does anyone know how to fix this issue?

Session Status                reconnecting (x509: certificate signed by unknown authority)
Version                       2.3.35
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00
ngrok location : c/ngrok.exe 
operating system: windows 10 (64bit)
localhost: xampp (apache)
ngrok config: C:\Users\Anuruddha\.ngrok2\ngrok.yaml

inside ngrok.yaml I have my auth key as well.

like image 794
Dapk Avatar asked Feb 12 '20 11:02

Dapk


People also ask

How do I fix x509 certificate signed by unknown authority?

How to resolve Docker x509: certificate signed by unknown authority error. In order to resolve this error, we have to import the CA certificate in use by the ICP into the system keystore. Then, we have to restart the Docker client for the changes to take effect.

What is x509 certificate signed by unknown authority?

509 Certificate Signed by Unknown Authority” error is that you've attempted to use a self-signed certificate in a scenario that requires a trusted CA-signed certificate. Most of the examples we see in the field are self-signed SSL certs being installed to enable HTTPS on a website.


1 Answers

You can try these solutions:

  1. Use version 2.2.8 instead, it can be found on https://dl.equinox.io/ngrok/ngrok/stable/archive. There are some minor bugs from version 2.3.x and above.
  2. Add root_cas: trusted to your ngrok.yaml file.
  3. Change to other regions.
  4. If you are using VPN, stop using VPN, create ngrok tunnel first, then connect to VPN.
  5. If you are using Proxy Server, make sure you have these settings in your yaml file:
    • http_proxy: true
    • inspect_db_size: 50000000

https://ngrok.com/docs#config

like image 182
Khanh Dat Huynh Avatar answered Sep 21 '22 18:09

Khanh Dat Huynh