There’s been a significant change in the latest OS X update involving the way Google Chrome (53) now handles SSL certificates: now an intermediate certificate file is required. This problem doesn’t affect Chrome Canary.
The fix
cat primary_cert.crt intermediate_cert.crt >> bundle.crt
Apache
<VirtualHost *:443>
ServerName site.com
ServerAlias www.site.com
DocumentRoot /home/site/www
SSLEngine on
SSLCertificateFile /home/site/server.crt
SSLCertificateKeyFile /home/site/server.key
SSLCertificateChainFile /home/site/bundle.crt
</VirtualHost>
nginx
server {
server_name site.com www.site.com;
listen 443 default_server ssl;
root /home/site/www;
index index.html index.php;
ssl_certificate /home/site/bundle.crt;
ssl_certificate_key /home/site/server.key;
ssl on;
}
Node.js
'use strict';
var https = require('https');
var express = require('express');
var app = express();
var sslOptions = {
key: fs.readFileSync('server.key'),
cert: fs.readFileSync('server.crt'),
ca: fs.readFileSync('bundle.crt')
};
https.createServer(sslOptions, app).listen(3000);
Hope this helps.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.