• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

https not working

Michael_Freitter

New Pleskian
Greetings,

I have Plesk 12 with Ubuntu 14.04 and I have create a self-signed certifikate for my subdomain.
Also I have add this certificate in "Hosting Settings" and have enabled "SSL support".

Nevertheless, if I type https://<subdomain>.<xyz>.com in my browser, he show "not connection".

Also I have see in my ftp programm, that there is no folder "https".

What make I wrong?

Thank you!
Michael
 
Please show me output of following commands:

# plesk bin domain -i subdomain.domain.com | grep -i ssl
# netstat -anpt
# nginx -t
# plesk version
 
Hello,
thank you for your help:

# plesk bin domain -i subdomain.domain.com | grep -i ssl
SSL support: On
FrontPage over SSL support: Off

# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:12768 0.0.0.0:* LISTEN 718/psa-pc-remote
tcp 0 0 0.0.0.0:6308 0.0.0.0:* LISTEN 946/sw-cp-serverd
tcp 0 0 0.0.0.0:7080 0.0.0.0:* LISTEN 6120/apache2
tcp 0 0 0.0.0.0:12488 0.0.0.0:* LISTEN 465/sshd
tcp 0 0 0.0.0.0:7081 0.0.0.0:* LISTEN 6120/apache2
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 606/mysqld
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 30092/memcached
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6120/apache2
tcp 0 0 127.0.0.1:6000 0.0.0.0:* LISTEN 2481/unicorn.rb --h
tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 946/sw-cp-serverd
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 831/master
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 831/master
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 946/sw-cp-serverd
tcp 0 48 91.118.154.15:12488 89.144.222.21:47172 ESTABLISHED 8594/0
tcp 0 0 127.0.0.1:34094 127.0.0.1:11211 ESTABLISHED 30606/unicorn.rb --
tcp 0 0 127.0.0.1:11211 127.0.0.1:54729 ESTABLISHED 30092/memcached
tcp 0 0 127.0.0.1:11211 127.0.0.1:34097 ESTABLISHED 30092/memcached
tcp 0 0 127.0.0.1:11211 127.0.0.1:34094 ESTABLISHED 30092/memcached
tcp 0 0 127.0.0.1:54729 127.0.0.1:11211 ESTABLISHED 2481/unicorn.rb --h
tcp 0 0 127.0.0.1:34097 127.0.0.1:11211 ESTABLISHED 30572/ruby
tcp6 0 0 :::993 :::* LISTEN 571/couriertcpd
tcp6 0 0 :::995 :::* LISTEN 637/couriertcpd
tcp6 0 0 :::12488 :::* LISTEN 465/sshd
tcp6 0 0 :::106 :::* LISTEN 14220/xinetd
tcp6 0 0 :::110 :::* LISTEN 596/couriertcpd
tcp6 0 0 :::143 :::* LISTEN 546/couriertcpd
tcp6 0 0 :::8880 :::* LISTEN 946/sw-cp-serverd
tcp6 0 0 :::465 :::* LISTEN 831/master
tcp6 0 0 :::21 :::* LISTEN 14220/xinetd
tcp6 0 0 :::25 :::* LISTEN 831/master
tcp6 0 0 :::8443 :::* LISTEN 946/sw-cp-serverd

# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

# plesk version
Product version: 12.0.18 Update #43
Update date: 2015/04/17 07:03
Build date: 2015/01/26 15:00
Build target: Ubuntu 14.04
Revision: 333119
Architecture: 64-bit
Wrapper version: 1.1

Regards
Michael
 
Hmm... No 80 and 443 ports in netstat output. Try to run Nginx with

# /usr/local/psa/admin/bin/nginxmng -e
 
I think I use apache webserver and not Nginx !?

root:~# cd /usr/local/psa/admin/bin
root:/usr/local/psa/admin/bin# nginxmng -e
-bash: nginxmng: command not found
 
Run

# /usr/local/psa/admin/bin/websrvmng -r

and then check status with

# /usr/local/psa/admin/bin/websrvmng -s

if it is running, check output of

# lsof -i tcp:443
# lsof -i tcp:80
 
My server does not know this command "websrvmng" apparently.

root@xserv20648:/usr/local/psa/admin/bin# websrvmng -r
-bash: websrvmng: command not found
 
Try

# /opt/psa/admin/bin/websrvmng -r
 
Last edited:
I try it, but the same output:
root@xserv20648:/opt/psa/admin/bin# websrvmng -r
-bash: websrvmng: command not found

I have displayed the content of this folder (ls -l) and I see this line:
lrwxrwxrwx 1 root root 15 Jun 10 2014 websrvmng -> ../sbin/wrapper

What means "websrvmng -> ../sbin/wrapper"?
 
OK, now I have an output (but my application via browser is not available):

root@xserv20648:/opt/psa/admin/bin# /opt/psa/admin/bin/websrvmng -r
Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start
websrvmng: /opt/psa/admin/sbin/apache_control_adapter execution failed:
Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start
websrvmng: /opt/psa/admin/sbin/apache_control_adapter execution failed:
Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start
 
Something wrong with Apache. Check Apache configs with

# apachectl -t
 
apachectl -t
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
Syntax OK
 
Back
Top