subdomain/Virtualhost not working need help

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
!!!
apache2 virtualhost <|> subdomain
used tutorial https://www.webhosterwissen.de/know-how/eigener-webserver/tutorial-apache-virtual-hosts-anlegen/
no idea
noob
!!!

My domain is: privat.gk354.de

I ran this command:
certbot --apache
2 //and accept

It produced this output:
https://gk354.de/screenshots/5.png

My web server is (include version): apache2

The operating system my web server runs on is (include version): debian 10

My hosting provider, if applicable, is: private :wink:
I can login to a root shell on my machine (yes or no, or I don’t know):yees

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):nope

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): actually

i have no idea who are the problem

1 Like

Hi @pleasehelpssl

your error says: You have created the certificate, but Certbot can’t install it.

What says

apachectl -S

But checking your domain - https://check-your-website.server-daten.de/?q=privat.gk354.de

You have created a lot of certificates:

Issuer not before not after Domain names LE-Duplicate next LE
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 privat.gk354.de - 1 entries duplicate nr. 5 next Letsencrypt certificate: 2019-12-25 16:31:09
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 privat.gk354.de - 1 entries duplicate nr. 4
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 gk354.de, privat.gk354.de - 2 entries duplicate nr. 1
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 privat.gk354.de - 1 entries duplicate nr. 3
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 privat.gk354.de - 1 entries duplicate nr. 2
Let’s Encrypt Authority X3 2019-12-18 2020-03-17 privat.gk354.de - 1 entries duplicate nr. 1

5 with one domain name, one with two domain names.

And the certificate with two domain names is used:

Domainname Http-Status redirect Sec. G
http://privat.gk354.de/ 85.10.198.221 200 Html is minified: 100,00 % 0.060 H
https://privat.gk354.de/ 85.10.198.221 GZip used - 355 / 831 - 57,28 % Inline-JavaScript (∑/total): 0/0 Inline-CSS (∑/total): 0/0 200 Html is minified: 117,71 % 2.620 B

So your certificate

CN=gk354.de
	18.12.2019
	17.03.2020
expires in 90 days	gk354.de, privat.gk354.de - 2 entries

is new.

So what’s the problem?

the problem is that i want another website on privat.gk354.de as on gk354.de
and yes i try many xD how i can erase that certificates?

[>sry for my english<]

whhhat :smiley:
for real working https now :smiley:
but its the wrong website
its the self website that in gk354.de but why? :smiley:
i understand nothing lol
ok i dont know how :smiley:
but no redirect :\ …

Then two different vHosts are required.

But you have only one port 443 vHost.

So use the port 80 vHost with privat… and add the SSL specific directives you see in the port 443 vHost.

And change the path + filename of the SSL file directives.

certbot certificates

should listen the certificates with one domain name.

2 Likes

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