Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting this error #11

Open
gitmko0 opened this issue Nov 20, 2020 · 2 comments
Open

Getting this error #11

gitmko0 opened this issue Nov 20, 2020 · 2 comments

Comments

@gitmko0
Copy link

gitmko0 commented Nov 20, 2020

fastrpc.Server: error on connection "123.123.123.123:80"<->"234.324.234.324:43202": error in handshake: error in TLS handshake: remote error: tls: bad certificate

i've tried many self signed cert and always get this issue.

can u provide the instructions to create self signed cert to /usr/local/src/

not sure if i need to link it to the right directory or not.

Server Frontend
./httptp -inType=http -inTLSCert=/usr/local/src/alice.crt -inTLSKey=/usr/local/src/alice.key -in=127.0.0.1:866 -outType=teleports -out=234.234.234.234:866 &

Server Backend
./httptp -inType=teleports -inTLSCert=/usr/local/src/alice.crt -inTLSKey=/usr/local/src/alice.key -in=:80 -outType=http -out=127.0.0.1:88

what is the problem?
appreciate this.

@gitmko0
Copy link
Author

gitmko0 commented Nov 20, 2020

certificates.zip
using the certficates from downloaded free from the internet. i did generate them myself with
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/local/src/ssssl.key -out /usr/local/src/ssssl.crt

but it's not working too

[fasthttp HostClient not secure] -> [httptp secure] <-------> [httptp secure] -> [ nginx port 80 not secure]

@gitmko0
Copy link
Author

gitmko0 commented Dec 4, 2020

just realised because i'm running the server behind aws so the ip address cannot be detected http server side. any ways to use teleportS without domain name verification?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant