As per usual I am pulling my hair out as I can not seem to get the result I want.
I am back just testing with virtualbox and a new install of nextcloud & debian 8
@Ark74 kindly fixed the install I was trying to setup for a community center and though I would spend the time and get it working here.
I am using the devicemapper rather than aufs and that isn’t my problem its with certs.
If I curl from the container to https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=edit
I get curl: (60) SSL certificate problem: unable to get local issuer certificate
I have added the root and type3 certs to both host and container and run update-ca-certificates
Whatever I do I get the same curl: (60) SSL certificate problem: unable to get local issuer certificate
if I try something like the above.
How do I get docker to trust the the nextcloud certs?
As I am just using curl as a test but the errors I am getting I presume are down to certs and letsencrypt.
wsd-00025-0028 0:03:16.051729 [ client_req_hdl ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:255
wsd-00025-0029 0:03:17.115053 [ client_ws_0002 ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00025-0029 0:03:17.115487 [ client_ws_0002 ] ERR Invalid fileinfo for URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:313
wsd-00025-0029 0:03:17.115526 [ client_ws_0002 ] ERR Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:555
wsd-00025-0029 0:03:17.115601 [ client_ws_0002 ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=edit].| wsd/LOOLWSD.cpp:1019
wsd-00025-0029 0:03:17.276219 [ client_ws_0003 ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00025-0029 0:03:17.277054 [ client_ws_0003 ] ERR Invalid fileinfo for URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:313
wsd-00025-0029 0:03:17.277377 [ client_ws_0003 ] ERR Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:555
wsd-00025-0029 0:03:17.277688 [ client_ws_0003 ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/LOOLWSD.cpp:1019
wsd-00025-0026 0:03:30.488397 [ client_ws_0004 ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00025-0026 0:03:30.488743 [ client_ws_0004 ] ERR Invalid fileinfo for URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:313
wsd-00025-0026 0:03:30.488827 [ client_ws_0004 ] ERR Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:555
wsd-00025-0026 0:03:30.489036 [ client_ws_0004 ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/LOOLWSD.cpp:1019
wsd-00025-0028 0:04:07.356491 [ client_ws_0005 ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00025-0028 0:04:07.356771 [ client_ws_0005 ] ERR Invalid fileinfo for URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:313
wsd-00025-0028 0:04:07.356797 [ client_ws_0005 ] ERR Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:555
wsd-00025-0028 0:04:07.356832 [ client_ws_0005 ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/LOOLWSD.cpp:1019
wsd-00025-0028 0:04:07.357557 [ client_ws_0005 ] ERR ClientRequestHandler::handleClientRequest: SSL Exception: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry| wsd/LOOLWSD.cpp:1211
wsd-00025-0026 0:04:37.970233 [ client_ws_0006 ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00025-0026 0:04:37.970574 [ client_ws_0006 ] ERR Invalid fileinfo for URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:313
wsd-00025-0026 0:04:37.970653 [ client_ws_0006 ] ERR Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:555
wsd-00025-0026 0:04:37.970779 [ client_ws_0006 ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.vote4u.org.uk/index.php/apps/richdocuments/wopi/files/13_oclpba2urj1k?access_token=f7bz9kPZK45DQKPF9a5cOCMhqEfJaJd8&access_token_ttl=0&permission=readonly].| wsd/LOOLWSD.cpp:1019
Put any of those urls in a browser and the json is returned.
Curl from the host and the json is returned.
Curl inside the container and curl: (60) SSL certificate problem: unable to get local issuer certificate
?
Sure this is an easy one and once more its me being dumb!