Description
Hi!
I have created a few mockbins via the new "Create an OpenAPI Bin" functionality and the tool always generated this URL format:
https://<unique_identifier>_oas.api.mockbin.io/
When attempting to make an HTTPS request to a URL via a simple Java application, the request fails with the following exception:
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
It seems that the root cause is that the domain <unique_identifier>_oas
contains an underscore (_), which is not a valid character for DNS hostnames according to RFC 1035.
Underscores are not supported in public DNS hostnames and cause TLS clients to reject the request during the handshake phase.
Requests to generated mockbin URLs should use valid domain names (only LDH characters: letters, digits, hyphens).
Could you please investigate this problem?
Thanks a lot!