Skip to content

Instantly share code, notes, and snippets.

View pedro380085's full-sized avatar
😀
InEventing!

Pedro Góes pedro380085

😀
InEventing!
View GitHub Profile
@pedro380085
pedro380085 / gist:a3a46dc9fe8a961c6d67
Last active August 29, 2015 14:08
Compare SSL Certificates and Private Key
$ openssl x509 -noout -modulus -in server.crt | openssl md5
$ openssl rsa -noout -modulus -in server.key | openssl md5
@pedro380085
pedro380085 / gist:ad047a838219cf23cd50
Last active August 29, 2015 14:03
APNS Certificate (Generating, Validating, Sending)
#!/bin/bash
# Two files are neeed to generate and upload your certificate
# Development:
# - aps_development.cer
# - Certificados.p12
#
# Production:
# - aps_production.cer
# - Certificados.p12