DEV Community

MT
MT

Posted on • Originally published at chi.miantiao.me on

L(O*62).ONG - Make your URL longer

GitHub

This little toy was finished last week. Just a few lines of code.

Encountered many issues during deployment, mainly related to HTTPS certificates.

The longest segment of the domain name is 63 characters. The commonName of the HTTPS certificate can be up to 64 characters.

This caused Cloudflare, Vercel, and Netlify to be unable to use Let's Encrypt to sign HTTPS certificates (because they use the domain name in commonName), but Zeabur can use Let's Encrypt to sign HTTPS certificates.

Finally, switching the Cloudflare certificate to Google Trust Services LLC successfully signed the certificate.

You can view the relevant certificates at https://crt.sh/?q=loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)