-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with multicerts #31
Comments
cannot see this bug in the list |
Problem should be here. When i already have cert but I added new aliases or subdomains, cert isnt regenerated. |
Oh it used to be in the todo list, but seems to have implemented. I updated the code and still have the same issue like you do. The certificates belongs to the same domain that was originally created for, no new certs were regenerated for aliases and subdomains. Confirmed! |
Hi! For forcing regenerate of cert, we have two methods:
|
I removed the cert files, but now, I dont know how to regenerate it |
Uncheck SSL & Let's Encrypt box in vhost (webdomain), save and re-check. |
Disabled sub-/alias-domain by checking off the 'Active'. What do you mean by update? Update the script (I just replaced the changed file, nginx_plugin.inc.php, I think that is enough as the entire script was updated just yesterday, I think that is good enough, Or? Enabled again, but no go. |
In the panel of your ISPConfig, go to one subdomain (subdomain of the domain concerned), disable subdomain, click on «save» button, then, enable it, and save again. Or you can uncheck Let's Encrypt checkbox in your domain, save it, enable and save. |
Tried both ways (disabling and enabling sub-/alias-domains, and uncheck, save and check the Let's Encrypt checkbox in the domain) except the nasty way to remove all certs from the /etc/letsencrypt directory, doesn't seem to work at my end. Also did to confirm, prior to all above:
|
Tried again after 12 hours thinking it could be a LE auth issue, but no go. |
Can you post vhost of your domain and Let's Encrypt log? |
vhost: http://pastebin.geany.org/tsZxH/ I am trying to create arspopuli.net as an aliasdomain for arspopuli.org, fyi. |
LE log is not for the good domain, he attempt to manage cert for madhavpokharel.com.np, this domain is yours? |
Removed and readded the aliasdomain, tail -f /var/log/letsencrypt/letsencrypt.log remained as it was! Also tried each with 'permanent' 'proxy' and redirect' Redirection Type (See http://picpaste.com/8smO9lbb.png), but it does not seem to work. Pulling my hair now ... |
Let's Encrypt is up to date? Set ISPConfig server log level mode as debug. |
Nothing erroneous in the log files. (ispconfig.log at http://pastebin.geany.org/TN6Nk/) the tail of /var/log/ispconfig/cron.log is at http://pastebin.geany.org/fhi1U/ Nothing changed. |
Okay, cert is not generated. Remove files under:
Enable SSL and Let's Encrypt box in your domain. Update it. That will purge any compromises files or with bad permissions, and generate certificat from Let's Encrypt. |
It regenerated the certificate, yet the aliasdomains didn't work eventhough there is a categorical line in ispconfig.log (http://pastebin.geany.org/jesy9/) that creates certs for both arspopuli.org and arspopuli.net:
And successful recreation of certs as evidence from letsencrypt.log posted at http://pastebin.geany.org/bWZz2/ nginx_plugin.inc.php is the latest, fyi. https://arspopuli.org works as it should, but https://arspopuli.net does not. The certs were recreated after a nasty way (which is what your work is trying to avoid), yet aliasdomains didn't work! Back to square one! |
Okay, you can disable debug mode from server config. I understand what's the problem. |
@alexalouit Thanks. www is a must for SEO as you are aware. Let me wait till, subdomains too are supported. Merci beaucoup pour votre travaille! |
I tested against a909731 commit the above.
No changes. |
Delete repo and clone it again. |
Yep it does work now**. Merci! **However, there needed a manual intervention of deleting all cert, keys and auth files for other domains. It could not execute evertything from the ISPConfig UI iteself. |
great! |
The renewal of the LE certificate is not carried out still by the script once the SSL and Let's Encrypt checkboxes are deselected and saved, and reselected and saved again. One can see the vhosts added with aliasdomains, but not the renewal of the certificate automagically as seen in the debug file here (http://pastebin.geany.org/7JAtc/). It is quite tedious to delete the files as below for a number of domains with aliasdomains:
@alexalouit Please open this again as this can still not be able to execute from the ISPConfig GUI. |
I had problem with lets encrypt. They allowed only 5 cert regeneration per 7 days. But if cert isnt regenerated ISPconfig dont notify me about it. Some counter for this would be fine. |
Next thing what im missing is textfield for user defined subdomains. ex. I have subs like admin, mail, phpmyadmin, etc. for sites not defined in ISPConfig. I can create sub in ISPConfig and then delete it in server_name variable, but its not the best idea for me. |
That's in to do list (https://github.com/alexalouit/ISPConfig-letsencrypt/blob/ISPConfig-3.0.5.4p8/_todo#L8)
I don't understand, subdomain works. |
But I cannot generate certificate for not added subdomains to ISPconfig. e.g. I have subdomain mail.domain.com, but I dont have registrered this sub in ISPconfig becasue I created it manualy by adding config to the sites-enabled dir. |
@Rikarin Do you have mail.domain.com in your DNS records. You need both MX and A records, the latter pointing to the IP of your server. Just in case you skipped. |
@Rikarin |
After an update of ISPConfig-letsencrypt and letsencrypt to 0.5-dev, the unresolved issue as discussed at #31 (comment) is still not addressed. It further brought down all other domains which had been working, making it unable to renew! :-( ISSUE:
There is also a typo- 'correctly' was spelled 'corecctly', fyi. REASON: TEMPORARY SOLUTION: Just:
and changed to:
EXPLANATION This issue is caused due to two reasons:
3 above is something that needs to be fixed with the script itself. |
My first rule in the Apache Directives is as follows:
This prevents letsencrypt from failing for me. Even with https-redirection and a dozen other directives. |
Hello, script isnt generating certs for alias domain correctly
Missing www. subdomains for alias domains.
http://i.imgur.com/tzwkSxb.png
Missing subdomains
http://i.imgur.com/mme6WZ0.png
The text was updated successfully, but these errors were encountered: