Erreur SSL sous domaine sous PLESK
... / Erreur SSL sous domaine s...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Erreur SSL sous domaine sous PLESK

by
JeanW5
Created on 2020-10-19 15:14:41 (edited on 2024-09-04 12:32:15) in Domaines

Bonjour à tous,

J'ai un souci lors de la création d'un sous domaine sous plesk.
Pour avoir un environnement de test de mon site, j'ai créé un sous-domaine dev.mpis.fr (en allant simplement dans domaine/ajouter un sous domaine)

Ensuite, j'ouvre tout simplement un navigateur et celui-ci me dit en HTTPS : There is no SSL certificate configured for this domain.
et en HTTP, il fait une erreur 500

Je tente donc d'installer un certificat Let's Encrypt comme pour le domaine principal.
Mais ne faisant cela je tom sur l'erreur suivante :

Error: Could not request a Let's Encrypt SSL/TLS certificate for dev.mpis.fr.

Go to http://dev.mpis.fr/.well-known/acme-challenge/jAO-I5ET1yZmPw-uB53FUa7VNu8i_TSQiw0kQ-GGmxU
and сheck if the authorization token is available.
If it is, try to request the certificate again. If the token is not available, there may be an issue with your DNS configuration.
Your domain in Plesk is hosted on the IP address(es): 137.74.24.87, but the DNS challenge used another IP: 81.88.48.95.
Make sure that the IP address(es) specified in the domain's DNS zone match the IP address(es) the domain is hosted on.
If it does not help or if you cannot find an issue with your DNS configuration, use this KB article for troubleshooting.


J'avoue que je tourne en rond avec ce problème....

Quelqu'un aurait-il une idée ?

Meric beaucoup

Sébastien


5 Replies ( Latest reply on 2020-10-19 16:10:24 by
kyodev
)

Salut @JeanW5

Dans la zone dns ACTIVE du domaine, tu dois créer un champ A pour le sous domaine, pointant vers l'IP de ton plesk.

Ceci fait, tu attends un peu le temps de la réplication et tu retente :)

Jalinn

salut @Jalinn

meci pour ton retour, j'avais déjà testé cela, mais maintenant j'ai cette erreur :
Error: Could not request a Let's Encrypt SSL/TLS certificate for dev.mpis.fr.

Go to http://dev.mpis.fr/.well-known/acme-challenge/_bBQZqC3fW9tutpnGNRwjitjbeaXk-nTN9wqjLLHz1I
and сheck if the authorization token is available.
If it is, try to request the certificate again. If the token is not available, there may be an issue with your DNS configuration.
Your domain in Plesk is hosted on the IP address(es): 137.74.24.87, but the DNS challenge used another IP: 81.88.48.95.
Make sure that the IP address(es) specified in the domain's DNS zone match the IP address(es) the domain is hosted on.
If it does not help or if you cannot find an issue with your DNS configuration, use this KB article for troubleshooting.

De ce que j'ai vu dans d'autres sujets, je devais déclarer le sous domaine au niveau du registrar pour ensuite l'intégrer dans PLESK.

Je vais tester cette solution à moins que pour toi la solution serait ailleurs

Merci

```text ```text
dig +nocmd +noall +answer mpis.fr A @ns1.amenworld.com
mpis.fr. 900 IN A 137.74.24.87
dig +short -x 137.74.24.87 -> hr3445900750.reseller.mis.ovh.net

dig +nocmd +noall +answer dev.mpis.fr A @ns1.amenworld.com
dev.mpis.fr. 900 IN CNAME onlinux-fr.setupdns.net.
```
ta zone DNS est chez Amen et ton VPS n'est pas pointé par le sous-domaine **dev** ```

salut @kyodev

Merci de ton retour
Donc c'est bien cela, je dois aller sur Amen pour déclarer le sous domaine dev pour que le plesk puisse le connaitre ?

c'est ça