seknox / trasa

Zero Trust Service Access

Home Page:https://www.trasa.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[PERF]remote error: tls: unknown certificate

nanoponge opened this issue · comments

Describe the issue/idea:
When I Open TRASA_HOST in my browser, "remote error: tls: unknown certificate" appeared on the terminal and the page couldn't be opened. How can I solve it? Thank you.

Scope of the issue/idea:
dashboard server

@nanoponge Are you hosting TRASA publicly (with autocert enabled) or in a private network?

@nanoponge Are you hosting TRASA publicly (with autocert enabled) or in a private network?

A private network. I set trasa.listenAddr = 127.0.0.1 , and trasa.autoCert=false

TRASA will generate self signed certificate by default at /etc/trasa/certs/trasa-server.crt and /etc/trasa/certs/trasa-server.key. You can keep using this by ignoring the warning in browser. Or you can replace the certificate and key with your own certificate.

What do you mean by "the page couldn't be opened" ?
Is there a warning?
Can you send me the screenshot?

What do you mean by "the page couldn't be opened" ?
Is there a warning?
Can you send me the screenshot?

1
2
I cant't open the TRASA dashboard.

Have you tried it in private window?

Sorry,I can't understand what is ‘private window’ you mean. I run it all in localhost.

I meant in incognito window

I install libssl-dev and re-install trasa, the login page can be opened.