-
Notifications
You must be signed in to change notification settings - Fork 39
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
Setup: Error Line 42 in commander script #140
Comments
I'm guessing that this issue is why my fresh install is stalled with a spinning wheel on: Restart and filling the ACME log with this:
edited to reformat the log extract |
@dhardyuk |
I have the same problem and when i run "cd /home/labca/boulder; docker ps -a" i get this. Maybe the log-entry ".... still trying to connect to bpkilint:80" has to do with it? |
So, I’m using the full install on Debian 12, which also pulls in the docker images. After several complete redoes yesterday I realised that the setup completion was stalling and then my reboots were resulting in the “ still trying to connect to bpkilint:80” events after the reboot. So a little rethink later and I focused on the CAA record in DNS. Which is a pain to configure on a Windows DNS server and I couldn’t work out how to do it on my MikroTik router. Windows server doesn’t support the CAA record type so you need to use powershell to add in an ‘unknown type’ which you can find by googling - lots of examples from SSL cert slingers on how to add a CAA record this way. I took a payload from somewhere and converted it from Hex to ASCII in notepad++ and then wrote my payload to match but with my lab domain name and then encoded that as hex and successfully added that to my Windows 2019 DNS server. One more rebuild of everything later and setup completed successfully :-D Same thing might work for you guys. My current problem is getting Synology DSM to request a cert via acme so I’m not out of the woods yet. |
Trying to get my Synology box to request the cert is my real goal yesterday. I wasn't able to get it to work with step-ca so I thought I'd try with labca. I also tried installing labca in a Debian 12 LXC instead of doing the docker install. @dhardyuk If you manage to get your Synology box to request a cert I would really appreciate if you could share the answer. I'm using opnsense and if has the ability to request a cert and publish it to the Synology box but I can't get it past any of the validation mechanisms. I ended up installing bind but couldn't figure out how to get the ducks in a row to let nsclient add the temporary txt record. I tried running acme.sh on the Synology box itself but can't figure out the parameters to even manually request the cert. |
@dhardyuk ok, I know this isn't the right forum but I don't know how else to share this with you. I finally managed to get my Synology box to get a cert. I followed the instructions here: Installing acme.sh in the location they suggest. I installed Synology Web Station but after everything I suspect that wasn't needed. You can try without doing that step. The key thing that was quite confusing is the nginx configuration that drives all of the synology web interface has a global override for the sub-path that acme HTTP-01 validation tries to search for. You need to manually create this directory: All requests to the acme HTTP-01 validation URL end up there. I ran this to get the initial cert:
Then followed the instructions to deploy using a temporary admin user. NOTE: This worked using a step-ca server. I could never get labca to finish its initial configuration. |
@anselor - I couldn't get this to work for me with labca 😶. I've gone nuclear in the other direction and registered a pp.ua domain (for free) and then migrated my entire lab to use the new internet valid domain. Currently have my Synology using a letsencrypt cert and will revisit in a couple of months. Thanks for your help 👍 |
Trying to do the docker install pulling the latest image right now.
The text was updated successfully, but these errors were encountered: