Error:0D0680A8 : asn1 encoding routines: ASN1CHECKTLEN: wrong tag error message when accessing your website.
Cause of the problem
This error is due to an invalid certificate format installed on the Apache webserver.
Check your certificate formating
Make sure there are no leading or trailing spaces in the certificate file.
Carefully ensure there are no spaces or blanks within your certificate file, by selecting the entire text and looking for blank spaces on a text-only editor.
Check Apache configuration
Check the Apache configuration file and make sure that the correct path is specified for the correct certificate file.
The fastest log
search on the planet
Better Stack lets you see inside any stack, debug any issue, and resolve any incident.
The usual cause is that the implementation of SSL on your server is not correct. The error is usually caused by a server-side problem which the server administrator will need to investigate.Questions
When you are accessing the HTTPS secured website a series of steps is taken in the background to ensure that the connection is safe and trusted. Some of these steps consist of checking certificates. If the browser does not believe that the connection would be secure it displays this error.Questions
Solved: Invalid command ‘SSLEngine
This frequently happens on fresh Apache servers. When Apache starts it reads through the configuration files. When it encounters `SSLEngine` directive, it considers it as unknown. This is caused by the fact that the server’s basic configuration does not have `mod_ssl` module installed or enabled.Questions
A NET::ERR_CERT_COMMON_NAME_IN error occurs when the domain the SSL certificate is installed on is not listed on the certificate (either as the common name, subject alternative name or covered by a wildcard).Questions
Make your mark
Join the writer's program
Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.Write for us
Build on top of Better Stack
Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our firstname.lastname@example.org
or submit a pull request and help us build better products for everyone.
See the full list of amazing projects on github