Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-01-2013, 12:29 PM
|
#1
|
Member
Registered: Aug 2012
Posts: 30
Rep: 
|
When I creat new subdomain my site give ssl error.
Hi,i had ssl configured.
i have dedicated server.i configured /usr/local/directadmin/data/user/user123/httpd.conf
but when i creat new subdomain ,then,refresing httpd.conf file (ssl place).
EXAMPLE ,in httpd.conf in OLD:
--------------------------------------
<VirtualHost MYIP:443 >
SSLEngine on
SSLCertificateFile /usr/local/directadmin/data/user/user123/server.crt
SSLCertificateKeyFile /usr/local/directadmin/data/user/user123/server.key
------------------------------------------------------
and i creat subdomain by DIRECTADMIN PANEL.
httpd.conf is NEW LOOK:
--------------------------------------
<VirtualHost MYIP:443 >
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
------------------------------------------------------
PLEASE HELP ME
|
|
|
10-01-2013, 01:59 PM
|
#2
|
LQ Newbie
Registered: Apr 2005
Distribution: debian, redhat
Posts: 10
Rep:
|
...and the error is?... have you the log report?
may be you don't have the file in the correct directory... I don't know
|
|
|
10-01-2013, 02:09 PM
|
#3
|
Member
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186
Rep:
|
Quote:
Originally Posted by DeSouffle
When I creat new subdomain my site give ssl error
|
If you get a certificate warning in your browser when you open the subdomain, this warning is likely a valid warning and no ssl-configuration error .
If you have a certificate for www.example.com it is normally
not valid for subdomain.example.com
So a "page is not secure, ... " ssl-warning in your browser is Ok.
You would need a second certificate for subdomain.example.com or you need a so called 'wildcard' certificate to certify all subdomains of a domain.
Ask your ssl-certificate provider for details
|
|
|
10-01-2013, 02:16 PM
|
#4
|
Member
Registered: Aug 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by heinblöd
If you get a certificate warning in your browser when you open the subdomain, this warning is likely a valid warning and no ssl-configuration error .
If you have a certificate for www.example.com it is normally
not valid for subdomain.example.com
So a "page is not secure, ... " ssl-warning in your browser is Ok.
You would need a second certificate for subdomain.example.com or you need a so called 'wildcard' certificate to certify all subdomains of a domain.
Ask your ssl-certificate provider for details
|
I'm sorry. YES reaaly. But i said:
example: my domain is: www.test.com
https://www.test.com
then when i creat subdomain ,give ssl error my test.com domain.
i know,when i creat subdomain,subomain.test.com if no sertificate,yes really no works.
but why subdomain destroy my www.test.com domain sertificate path in my httpd.conf ?
why?
|
|
|
10-01-2013, 02:33 PM
|
#5
|
Member
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186
Rep:
|
Most likely because Directadmin is misconfigured or not taking into account the correct path of your distro.
Many Hostingpanels only allow one Domain with a ssl-certificate.
If you just need to keep the settings for the main domain, why don't you correct the certificate path (SSLCertificateFile and SSLCertificateKeyFile) manually and then make the file readonly, so the Hostingpanel cannot change it anymore?
|
|
|
10-01-2013, 03:07 PM
|
#6
|
Member
Registered: Aug 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by heinblöd
Most likely because Directadmin is misconfigured or not taking into account the correct path of your distro.
Many Hostingpanels only allow one Domain with a ssl-certificate.
If you just need to keep the settings for the main domain, why don't you correct the certificate path (SSLCertificateFile and SSLCertificateKeyFile) manually and then make the file readonly, so the Hostingpanel cannot change it anymore?
|
aha ok thankss  very nice think  ) thanksss 
|
|
|
10-01-2013, 05:09 PM
|
#7
|
Member
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186
Rep:
|
no problem, I hope it works 
|
|
|
All times are GMT -5. The time now is 10:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|