NextCloud Certificate install?

Visseroth

Guru
Joined
Nov 4, 2011
Messages
546
I have no clue what to do to install a certificate.
I'm pretty sure I had one installed at one time as acme.sh is installed but when I look in /usr/local/etc/ there is no nginx
I'm pretty sure I'm using mysql but I setup NextCloud a while ago so I can't remember what I did.

When I run amce.sh --renew -d my.domain.net --force I get 'Verify error:Invalid response from http://my.domain.net/.well-known/acme-challenge/blahblahblahblah'
/root/.acme.sh/acme.sh: line 2271: kill: (1705) - No such process

Any help is appreciated
 

Visseroth

Guru
Joined
Nov 4, 2011
Messages
546
Never mind, ended up figuring out I’m using apache24 and found a command that did it for me after doing a search online for acme.sh apache.
For those that find this I used the following command…
acme.sh --issue -d my.domain.net -w /usr/local/www/apache24/data -k 4096 --fullchain-file /usr/local/etc/pki/tls/certs/fullchain.pem --key-file /usr/local/etc/pki/tls/private/privkey.pem --reloadcmd “service apache24 reload” --force
 
Top