@j_d As well I may ask you to validate the certificate is matching the CA:
openssl verify -CAfile /var/www/html/fog/management/other/ca.cert.pem /var/www/html/fog/management/other/ssl/srvpublic.crtShould tell you OK.
From the client log you posted it clearly states to be a certificate/CA issue:
Middleware::Authentication ERROR: Certificate is not from FOG CA