# Solved: Error:0D0680A8 : asn1 encoding routines: ASN1_CHECK_TLEN: wrong tag

## Problem

_Error:0D0680A8 : asn1 encoding routines: ASN1_CHECK_TLEN: 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.

## Solution

### 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.

[ad-logs]