if anyone (like me) needs to find SSL certificates generated by nextcloud-aio installation for other usage, there it is.
My need was to reuse nextcloud certificates for other docker images, like homeassistant (but not limited to it).
This as a temporary solution while implementing a reverse proxy architecture with Traefik that manages better the web entrypoints and redirections.
Nextcloud-aio stores the SSL certificates in apache docker, available in path
in this path you will have three files
yourdomain.org.crt← this is the public certificate file
yourdomain.org.key← this is the private certificate file
- yourdomain.org.json - ignore this
yourdomain.org.crt file to homeassistant/config/certs/fullchain.pem
yourdomain.org.key file to homeassistant/config/certs/privkey.pem
NOTE: there is no need to manipulate source certificates, just renaming the extention will work for homeassistant, for other usage refer to specific configuration needs.