According to RFC4366, a SSL alert number 112 indicates unrecognized_name.
"unrecognized_name": this alert is sent by servers that receive a
server_name extension request, but do not recognize the server
name. This message MAY be fatal.
This matches our case exactly.
In Chrome it will show something like this.
I attach a patch here to address this issue. I can open a pull request for this patch if it sounds good to you. Thank you!
Describe the feature request
For the https request, frps server will return a 404 Not Found code in HTTP protocol when the domain name is not found.
This violate the https/ssl standard.
Describe alternatives you've considered
A better way for the return would be
According to RFC4366, a SSL alert number 112 indicates
unrecognized_name
.This matches our case exactly.
In Chrome it will show something like this.
I attach a patch here to address this issue. I can open a pull request for this patch if it sounds good to you. Thank you!
Affected area