APNS failed on Ubuntu

Posted on July 9, 2012 | Category :Uncategorized | No Comments

I am developing server that utilize Apple Push Notification Service with Go language. After deploy on Rackspace cloud server it stopped to work telling certificate signed by unknown authority

openssl verify cert.pem


error 20 at 0 depth lookup:unable to get local issuer certificate

Fix is to append missing certificate to /etc/ssl/certs/ca-certificates.crt


Backup /etc/ssl/certs/ca-certificates.crt first

wget https://www.entrust.net/downloads/binary/entrust_2048_ca.cer

cat entrust_2048_ca.cer >> /etc/ssl/certs/ca-certificates.crt first

Comments 0

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>