# Impossible de créer un certificat pour un deuxième domaine

**URL:** https://forum.yunohost.org/t/impossible-de-creer-un-certificat-pour-un-deuxieme-domaine/5145
**Category:** Support
**Tags:** french
**Created:** [July 2, 2018, 2:46pm UTC](https://forum.yunohost.org/t/impossible-de-creer-un-certificat-pour-un-deuxieme-domaine/5145 "2018-07-02T14:46:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Steve](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.yunohost.org/u/Steve)
#### Post date: [July 2, 2018, 2:46pm UTC](https://forum.yunohost.org/t/impossible-de-creer-un-certificat-pour-un-deuxieme-domaine/5145/1 "2018-07-02T14:46:59Z")

</div>

### Configuration de mon YunoHost

**Matériel:** Cubietruck  
**Accès Internet** : ethernet à la maison  
**YunoHost version:**  
yunohost: 2.7.14.5 (stable)  
yunohost-admin: 2.7.14 (stable)  
moulinette: 2.7.14 (stable)  
ssowat: 2.7.14 (stable)

### Description de mon problème

Je souhaite créer un certificat pour un second domaine installé sur mon serveur.

En ligne de commande, j’éxécute : `yunohost domain cert-install your.domain.tld`

> 735 DEBUG loading actions map namespace ‘yunohost’  
> 932 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]  
> 934 DEBUG initializing base actions map parser for cli  
> 946 DEBUG registering new callback action ‘yunohost.utils.packages.ynh\_packages\_version’ to [‘-v’, ‘–version’]  
> 1874 DEBUG initialize authenticator ‘ldap-anonymous’ with: uri=‘ldap://localhost:389’, base\_dn=‘dc=yunohost,dc=org’, user\_rdn=‘None’  
> 1904 DEBUG lock has been acquired  
> 2337 DEBUG loading python module yunohost.domain took 0.430s  
> 2339 INFO processing action [29179.1]: yunohost.domain.cert-install with args={‘no\_checks’: False, ‘force’: False, ‘domain\_list’: [‘your.domain.tld’], ‘self\_signed’: False, ‘auth’: \<moulinette.authenticators.ldap.Authenticator object at 0xb664f350\>, ‘staging’: False}  
> 13495 INFO Starting new HTTP connection (1): x.x.x.x  
> 13505 DEBUG Couldn’t reach domain ‘your.domain.tld’ by requesting this ip ‘x.x.x.x’ because: (‘Connection aborted.’, BadStatusLine(“‘’”,))  
> 13508 INFO Now attempting install of certificate for domain your.domain.tld!  
> 13717 INFO Starting new HTTP connection (1): x.x.x.x  
> 13725 DEBUG Couldn’t reach domain ‘your.domain.tld’ by requesting this ip ‘x.x.x.x’ because: (‘Connection aborted.’, BadStatusLine(“‘’”,))  
> 13928 WARNING Debug information:
> 
> - domain ip from DNS x.x.x.x
> - domain ip from local DNS x.x.x.x
> - public ip of the server x.x.x.x
> 
> 13930 ERROR Certificate installation for your.domain.tld failed !  
> Exception: [Errno 22] Il semble que le domaine your.domain.tld n’est pas accessible via HTTP. Veuillez vérifier que vos configuration DNS et nginx sont correctes  
> 13932 DEBUG action [29179.1] executed in 11.591s  
> 13934 DEBUG lock has been released

Les trois adresses IP sont identiques et pointent bien vers mon serveur.

J’ai aussi testé les ports ouverts via la page [https://ports.yunohost.org](https://ports.yunohost.org) et le port 80 est bien accessible.

D’ailleurs, le renouvellement de certificat de mon premier domaine a bien fonctionné… mais je ne peux pas créer de nouveau certificat pour mon deuxième domaine

D’avance merci pour vos suggestions

Steve

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [January 18, 2023, 8:18pm UTC](https://forum.yunohost.org/t/impossible-de-creer-un-certificat-pour-un-deuxieme-domaine/5145/2 "2023-01-18T20:18:33Z")

</div>


