Skip to content
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

www error (server pilot) #14

Closed
jesvinjoachim opened this issue May 22, 2018 · 8 comments
Closed

www error (server pilot) #14

jesvinjoachim opened this issue May 22, 2018 · 8 comments

Comments

@jesvinjoachim
Copy link

root@linux:~# rwssl -n matrimonyhrm
Obtaining SSL certificate for the app matrimonyhrm.
DNS check failed. Please ensure that the domain(s) hm.dewsprout.com www.hm.dewsprout.com are resolving to your server.

www.hm.dewsprout.com this gives a problem - because it dosent resolve - can add a ignore subdomain www. to be optional ?

@rehmatworks
Copy link
Owner

rehmatworks commented May 22, 2018

Hi @jesvinjoachim, domains are parsed from your vhost file. Simply remove the www domain from domains tab of your app (in serverpilot control panel) and then retry rwssl. Everything should work smoothly. Regarding the ignore flag, I didn't feel it to be there but I'll consider adding that feature in next update.

@jesvinjoachim
Copy link
Author

since you have developed rwssl -all , i thought it will be easier to just add this www exception too, because its automatically made added just like thath. by the way this all work is awesome , its really good . also i was wondering how much expensive it will be to make a clone of serverpilot , you already have lamppack etc . can we do that ?

@JamiesonRoberts
Copy link

There is another bug related to this, which is if your www. is listed first in server pilot (and therefor in the vhost) then the script won't run. I was able to fix it by deleting the WWW record in server pilot and reading it, but it should still be able to handle it regardless of the order.

@rehmatworks
Copy link
Owner

@jesvinjoachim adding that exception is easy but the script expects a valid vhost file that just contains correct domains. So the best option should be to have only valid domains for your apps in your serverpilot control panel. Regarding a serverpilot clone, I can't say anything about the required budget without doing a complete analysis. If you are serious in a product like this, then we can talk further via email or skype.

@rehmatworks
Copy link
Owner

@JamiesonRoberts Thanks for finding out the bug. Yep that's correct as Let's Encrypt stores certs in a directory for the domain that doesn't contain www but rwssl simply assumes the first domain name as the directory name. I'll fix this issue in next update.

@rehmatworks
Copy link
Owner

Issues regarding www version and invalid domains should be addressed by the new version (1.0.5). Regarding a www domain in sub-domain app, rwssl may still through a DNS validation error. Ideally, an app should NOT contain any invalid domains. rwssl now only validates a domain name, not it's DNS. So please check domains section for your app in ServerPilot control panel and remove any domains that don't belong to your app.

@jesvinjoachim
Copy link
Author

what you think of developing serverpilot alternative ?

@johanguse
Copy link

@jesvinjoachim SP change prices... Free will be over. Check serverpilot Blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants