During the creation of the server.p12
file it is necessary to define a password that will be required later when using the certificate in Micronaut.
Now modify your configuration:
1 | The file created. It can also be referenced as file:/path/to/the/file |
2 | The password defined during the export |
With this configuration if we start Micronaut and connect to [https://localhost:8443](https://localhost:8443)
we still see the warning on the browser but if we inspect the certificate we can check that it’s the one generated by Let’s Encrypt.
Now we can connect to [https://my-domain.org:8443](https://my-domain.org:8443)
: