Ubuntu Server in DigitalOcean
Nginx as proxy with Let's Encrypt for TLS
Guide to set up APNS: Vapor: Advanced → APNS
I got Apple Push Notification Service working on Vapor 4.0 localhost (127.0.0.1:8080), it sends notifications to my device without problems. But when I deploy it to my server, I'm getting this error:
[ INFO ] GET /push [ ERROR ] handshakeFailed(NIOSSL.BoringSSLError.sslError([Error: 268435581 error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED]))
I cannot find the error source. Someone with the same problem, or any tips?