[foaf-protocols] re-self-sign your WebID certificate

Joe Presbrey presbrey at csail.mit.edu
Sat Jan 21 12:29:54 EST 2012


Best to rotate keys regularly, but here's a fix if your certificate
expires at an inconvenient time:

openssl pkcs12 -in webid.p12 -nodes > webid.pem

(openssl x509 -in webid.pem -signkey webid.pem -days 3650 | openssl
x509 -text) > webid-new.cer

(cat webid-new.cer; openssl rsa -in webid.pem) > webid-new.pem

openssl pkcs12 -in webid-new.pem -export > webid-new.p12

https://gist.github.com/1653329


More information about the foaf-protocols mailing list