Installing without Docker
Like a few others, I have had problems piecing together how to install this without docker on an Ubuntu install. So far following Bolli84 progress from this thread on github #120 (closed) I get to:
Install go, java, build-essential, cfssl
apt install build-essential git golang default-jre golang-cfssl
Create and switch to a directory outside the web root and set perms to web user eg:
/opt/nextcloud/libresign
Create a Cert Request file:
nano csr.json
Content:
{
"CN": "nextcloud",
"names": [
{
"C": "UK",
"L": "UK",
"O": "Us",
"OU": "Them",
"ST": ""
}
]
}
Create initial CA root from the request so we can start service
cfssl genkey -initca csr.json | cfssljson -bare ca
Move the certs/keys to a subdir /certs and then start the cfssl service
cfssl serve -ca=/opt/nextcloud/libresign/cert/ca.pem -ca-key=/opt/nextcloud/libresign/cert/ca-key.pem -address=127.0.0.1&
So cfssl is running on:
http://127.0.0.1:8888
config set to
/opt/nextcloud/libresign
However after the Libresign settings are entered on Nextcloud as above I get the 'Could not Generate Certificate' error.
What am I missing? Is the config path setting something else pointing back to the Libresign app directory or is there something further?
Seems close but not there yet.