Localhost SSL cert with Lima

Hi @swalkinshaw,

I see you commented regarding certificate automation being added for Lima in a newer version of Trellis CLI.

However, I cannot find any further documentation of it and these and the related PR’s, while a few years old are still open.

Is there anything you can point me towards to help me set this up?

Thank you in advance!

Sorry about that; that functionality has never been added since it relied on that big SSL refactor in Trellis which I never felt comfortable changing a while ago and now it’s quite stale.

HI @swalkinshaw,

Ok, thanks for the answer. Any tips on setting it up manually? Or is that a complex task?

Best!

You basically need to run this command:

security add-trusted-cert -k ~/Library/Keychains/login.keychain $CERTIFICATE_PATH

You can either download the cert from your VM to your local machine, or follow a guide like this one