mod_gnutls giving me a parse error with a key from a CA.
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mod_gnutls giving me a parse error with a key from a CA.
Hey all, I need someone's advice that uses mod_gnutls as opposed to mod_ssl.
I am trying to run SSL on another port instead of 443. Our firewall is crap and has some service already running there and makes my site time out. When I changed the port for mod_ssl, it required me to put the port number in the URL. Wasn't a huge fan. Then I was enlightened to the glory of mod_gnutls.
but of course, I can't get it to run. :-(
I bought a cert from a CA but gnutls shoots me errors on them. (mod_ssl has no problem)
I don't understand it.
here is the snippet of my sites available file for apache2
Code:
<VirtualHost *:###>
ServerName www.mysite.com:###
ServerAlias mysite.com misite.com www.misite.com
ServerAdmin webmaster@mysite.com
DocumentRoot /home/me/www/mysite
<Directory />
Options FollowSymLinks -Indexes
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/ssl-error.log
CustomLog /home/me/www/mysite/logs/access.log combined
#Mod_GnuTLS currently enabled
GnuTLSEnable on
GnuTLSCertificateFile /etc/apache2/ssl.crt/mysite.crt
GnuTLSKeyFile /etc/apache2/ssl.key/mysite.key
GnuTLSPriorities NORMAL
</VirtualHost>
When I try to start apache2, it gives me this error:
Code:
Syntax error on line 91 of /etc/apache2/sites-enabled/000-default:
GnuTLS: Failed to Import Private Key '/etc/apache2/ssl.key/mysite.key': (-69) ASN1 parser: Error in DER parsing.
Totally lost on this.
Thanks in advance LQ community.
Don't do this – it's considered extremely bad netiquette here. Be considerate of the fact that LQ members are from all parts of the globe, and as such are located in all time zones. Wait at least 24 hours before bumping your thread, and when you do, provide details as to anything further which you've tried, or any new information you have. Also, with this bump, you've effectively canceled out the automatic bumps you would have been receiving due to the zero-reply status.
Don't do this – it's considered extremely bad netiquette here. Be considerate of the fact that LQ members are from all parts of the globe, and as such are located in all time zones. Wait at least 24 hours before bumping your thread, and when you do, provide details as to anything further which you've tried, or any new information you have. Also, with this bump, you've effectively canceled out the automatic bumps you would have been receiving due to the zero-reply status.
My apologies.
Just used to seeing it on other threads.
Didn't know about auto bump.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.