labca icon indicating copy to clipboard operation
labca copied to clipboard

Add example on how to use LabCA with certbot

Open thesonnenberg opened this issue 1 year ago • 2 comments

First of all, thank you for writing this software!

I successfully installed LabCA (or so i think) but I don't know how to use it.

I tried it with certbot:

certbot certonly --manual --server https://myLabCAserver.home -d myServer.home

Could you add more detail in the readme about how to use LabCA (preferably with an example)? Currently I don't know if I am doing something wrong on the client, or if installed the server wrong.

thesonnenberg avatar May 04 '24 13:05 thesonnenberg

To know if the installation of the server was successful: go to https://myLabCAserver.home/admin/ with your browser, and after you have completed the setup, LabCA will have successfully requested a certificate for itself and that will be logged in the activity summary on the dashboard page.

Until you have completed the setup, certbot will not work for sure.

As the server URL for certbot you will need to specify https://myLabCAserver.home/directory

I don't use certbot myself so you'll need to use your favourite search engine to find out the exact commands for your use case, and/or to understand the error messages that it returns...

hakwerk avatar May 05 '24 08:05 hakwerk

thank you, I used https://mylabcaserver.home/directory and it worked flawlessly!

LabCA was already up and running correctly, I just needed the hint to use */directory in in the server URL.

Here my certbot command which worked: certbot certonly --nginx --server https://myLabCAserver.home/directory -d myServer.home

thesonnenberg avatar May 05 '24 12:05 thesonnenberg