EasyEngine / EasyEngine/site-command
Skip SSL verification if adding record through cloudflare fails
- Lingua principale
- PHP
- Stelle
- 18
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently, EE proceeds with SSL validation even if adding record through CloudFlare fails. It should not proceed for verification, but instead should instruct users to add the DNS records and manually run `ee site ssl` to validate the SSL challenge.
```
Couldn't add dns record using cloudlfare API. Re-check the config values of `le-mail` and `cloudflare-api-key`.
Add the following TXT record to your DNS zone
Domain: _acme-challenge.example.com.
TXT value: a7LuHiWEKK5_zmnL8YWgWrxQlGF6EuZeG_t_ykINtr4
Wait for the propagation before moving to the next step
Tips: Use the following command to check the propagation
host -t TXT _acme-challenge.example.com.
Couldn't add dns record using cloudlfare API. Re-check the config values of `le-mail` and `cloudflare-api-key`.
Add the following TXT record to your DNS zone
Domain: _acme-challenge.example.com.
TXT value: 1LJ9H8S29BPfOYSPM-df-0kEuBa3X6O_IcwJYD2PhU4
Wait for the propagation before moving to the next step
Tips: Use the following command to check the propagation
host -t TXT _acme-challenge.example.com.
Waiting for DNS entry propagation.
Starting SSL verification.
Warning: The dns entries have not yet propogated. Manually check:
host -t TXT _acme-challenge.example.com
Before retrying `ee site ssl example.com`
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia tracciando il flusso di `ee site ssl`, in cui alla creazione del record DNS di Cloudflare segue la verifica SSL. Riproduci il caso di errore dell’API Cloudflare, quindi verifica che il comando si interrompa, stampi le istruzioni per la configurazione manuale del DNS e richieda una successiva esecuzione di `ee site ssl` dopo la propagazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- cloud, networking, security
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100