I'm a new comer to https ( HTTP using SSL). I've handled to develop a self signed certificate file and also have added the next lines towards the apache conf file:

SSLEngine on
SSLCertificateFile /path/to/cert/file/myfile.crt
SSLCertificateKeyFile /path/to/key/file/myfile.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

The problem I'm getting is the fact that after i attempt to restart my server I recieve the next error and am confused why it can't see clearly:

Starting web server apache2
Syntax error on line 1 of /path/to/cert/file/myfile.crt:
Invalid command 'MIIDtTCCAx6gAwIBAgIJAOnu0fcwBt1BMA0GCSqGSIb3DQEBBQUAMIGZMQswCQYD', perhaps misspelled or defined by a module not included in the server configuration

Any ideas?

Maybe it attempts to interpret the certificate file like a script. May be the crt file executable?