SSL Error marketplace.owncloud.com


#1

Hello OC Community,

I’ve currenty an issue with my owncloud stable 10.0.4.

Problem : Gallery is not working anymore;

Got some errors in owncloud.log :
"Error while running background job (class: OCA\Market\CheckUpdateBackgroundJob, arguments: ): {“Exception”:“OCP\\App\\AppManagerException”,“M
essage”:“No marketplace connection: cURL error 60: Peer’s Certificate issuer is not recognized.”,"Code

ssl_error :
\/index.php\/apps\/gallery\/thumbnails?ids=4838
62&scale=1&square=0&requesttoken=R28ZRzsBMCYhBgsNCA9QCgY0TRoRFRxfOWciBTwNVCM%3D%3Ap8x1nUxGP5YhaIbINd5hxtl1n3XCuD8oPYsYNfORJ2s%3D",“message”:"Exception: {
\“Exception\”:\“TypeError\”,\“Message\”:\"Argument 3 passed to OC\\\\Preview::__construct() must implement interface OCP\\\\Files\\\\N
ode, string given, called in \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/gallery\\\/preview\\\/preview.php on li

Several errors, and each time, problem connection with https://marketplace.owncloud.com

so I curl it :

  • About to connect() to marketplace port 443 (#0)
  • Trying 5.9.68.237…
  • Connected to marketplace (5.9.68.237) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • Server certificate:
  •   subject: L="                                                                                                        
    

N=marketplace

  •   start date: janv. 13 17:12:19 2019 GMT
    
  •   expire date: avril 13 17:12:19 2019 GMT
    
  •   common name: 
    
  •   issuer: E=support@fortinet.com,CN=FG201E4Q17902883,OU=Certificate Authority,O=Fortinet,L=Sunnyvale,ST=California,C=U
    
  • NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)
    *** Peer’s Certificate issuer is not recognized.**
  • Closing connection 0
    curl: (60) Peer’s Certificate issuer is not recognized.
    More details here:

Sys Info :
Centos 7.5.1804
openssl version : 1.0.2k

=> I’ve re-uploaded the cert chain from curl.haxx.se
=> I’ve tested with an other server Centos 7.6 (last) and upgraded openssl, still this error !

How could I achieved this ? Any ideas ?

Thanks so much,

Best Regards


#2

Hey,

from what i can see https://marketplace.owncloud.com/ is using Let’s Encrypt as the Certificate Authority so it seems to me that something in your network environment is trying to mess around with the SSL connection of ownCloud to the marketplace.


#3

Hi !

Yes indeed, there was a network config in my network environment blocking this chain certificate.
I’ve made a change internally so for now I could connect to marketplace easily.

Thanks so much for your support,

Regards
Sam