Error creating certificate

VirtualHost configuration:
*:80 celsusblue.space (/etc/apache2/sites-enabled/celsusblue.space.conf:1)

Please don't edit the output.
Was that all of it?

2 Likes

Screenshot 2021-12-14 221717

yes

What's with all that blank/black space?
[weird]

2 Likes

not sure. I try again

1 Like

OK, then show this file (again):
cat /etc/apache2/sites-enabled/celsusblue.space.conf

and output of:
top
(press 1 then capture)
[you can press "q" to quit top]

2 Likes

No difference except no empty rows. I work in a console windows and draged it longer before. Maybe the reason

I do not get this part:
and output of:
top
(press 1 then capture)
[you can press "q" to quit top ]

Screenshot 2021-12-14 222422

1 Like

type "top" and press enter.
then hit the number "1"
[that will change the output a bit]
then take a screenshot and paste it here.
to get out of the top program, just press the letter "q"

2 Likes

root@celsusblue:~# top
TERM environment variable not set.
root@celsusblue:~# 1
bash: 1: command not found
root@celsusblue:~#

hmm

1 Like

ah, hold on

1 Like

Screenshot 2021-12-14 223103

1 Like
 PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND    
    1 root      20   0  163588   7252   4984 S   0.0   0.0   0:00.39 systemd    
   42 root      20   0   33740   9164   8384 S   0.0   0.0   0:00.11 systemd-j+ 
   72 root      20   0   19732   2944   2312 S   0.0   0.0   0:00.03 systemd-u+ 
   81 systemd+  20   0   14324   5320   4472 S   0.0   0.0   0:00.04 systemd-n+ 
   83 root      20   0    9480   1680   1452 S   0.0   0.0   0:00.01 cron       
   84 message+  20   0    8400   2852   2376 S   0.0   0.0   0:00.05 dbus-daem+ 
   87 root      20   0   32776  14520   5916 S   0.0   0.0   0:00.16 networkd-+ 
   88 syslog    20   0  151620   2972   2452 S   0.0   0.0   0:00.02 rsyslogd   
   89 root      20   0   13624   5036   4264 S   0.0   0.0   0:00.07 systemd-l+ 
   91 systemd+  20   0   23508   9368   5448 S   0.0   0.0   0:00.10 systemd-r+
1 Like

I can't find anything wrong...
Please show the output of:
df -h

2 Likes

I see that alldomains hosting offers free certs with Let's Encrypt.
https://alldomains.hosting/ssl-zertifikat-kostenlos.html
Could the certs we see in crt.sh have been created by alldomains?

More, I also see alldomains responding to https requests with its own cert from Sectigo. What value will another cert have if alldomains is already terminating https?

It sort of seems to me that allhosting is behaving like a CDN and it is not properly configured. But, maybe I am the one confused but thought this might be helpful anyway.

echo q | openssl s_client -connect celsusblue.space:443 -servername celsusblue.space | head
...
Certificate chain
 0 s:/CN=*.alldomains.hosting
   i:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
 1 s:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
   i:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority
 2 s:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority
   i:/C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
 3 s:/C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services

And this curl series begins with https (redirects to HTTP w/-k and gets 200)

curl -I https://celsusblue.space
curl: (60) SSL: no alternative certificate subject name matches target host name 'celsusblue.space'
More details here: https://curl.se/docs/sslcerts.html

curl -Ik https://celsusblue.space
HTTP/2 301
strict-transport-security: max-age=63072000; preload
location: http://celsusblue.space/
content-type: text/html; charset=iso-8859-1
date: Wed, 15 Dec 2021 03:40:59 GMT
server: Apache

curl -I http://celsusblue.space
HTTP/1.1 200 OK
Date: Wed, 15 Dec 2021 03:42:32 GMT
Server: Apache
X-Powered-By: PHP/8.1.0
Connection: Upgrade
Content-Type: text/html; charset=UTF-8
3 Likes

@rg305:
I got this output:

root@celsusblue:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
zpool1/zfs20    9.0T  2.6G  9.0T   1% /
none            492K  4.0K  488K   1% /dev
tmpfs           100K     0  100K   0% /dev/lxd
tmpfs           100K     0  100K   0% /dev/.lxd-mounts
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           6.3G  124K  6.3G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           820M     0  820M   0% /run/user/0
root@celsusblue:~# 

@MikeMcQ:
This is right, I got a certificate first at my provider but it did run in errors as well. So I de-activated it again and I did not think it is active. At least my providers dashboard does not show it anymore. BUT: Since then my website play´s total crazy. Here the screenshot:

What is hard to see in the screenshot is that the website loads, finished, loads, finished, loads.... I think it reloads 5 times a second and never shows anything other than that, no matter I load it as http or https.

But when I open my IP adress in the browser the website shows up.

So I think I have to open a ticket at my provider first and see what is wrong. First I thought the error is maybe triggered by my linux install, but I think is provider.

I will report back as soon this guys have something.

Thank you all so far for now.

4 Likes

The site seems to be trying to dynamically build the page but is stuck in a loop where is build a link back to the current page (looping).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <meta http-equiv="refresh" content="0;url=http://celsusblue.space/x/y/z/123">
    <title>Celsusblue</title>
    <meta name="description" content="Celsusblue">
    <meta name="keywords" content="celsusblue">
</head>

<body>

<a href="http://celsusblue.space/x/y/z/123">http://celsusblue.space/x/y/z/123</a>

<script type="text/javascript">
document.location.href="http:\/\/celsusblue.space\/x\/y\/z\/123";
</script>

</body>
</html>

That, of course, is NOT a consequence of anything certificate related; As shown by the problem also occurring when using only HTTP.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.