Posts mit dem Label openSSL werden angezeigt. Alle Posts anzeigen
Posts mit dem Label openSSL werden angezeigt. Alle Posts anzeigen

Sonntag, 15. Juli 2018

Sony Webcam SSL Support: how to create openssl P12 PKCS out of crt

In case you have a crt certificate including your key and you need a p12

openssl pkcs12 -export -in hereyourcertificate.crt -inkey hereyourkey.key -out yournewp12certificate.p12

Mittwoch, 26. Oktober 2016

SSL PFX to PEM and KEY

In case you have a wildcard PFX certificate and you need a PEM and your private KEY:

A *.pfx certificate is a PKCS#12 format and includes both the certificate and the private key.


1. Export the private key
openssl pkcs12 -in ABC.pfx -nocerts -out privatekey.pem -nodes

2. Export the certificate
openssl pkcs12 -in ABC.pfx -nokeys -out cert.pem

3.  Remove the passphrase from the private key
openssl rsa -in privatekey.pem -out server.key 

Donnerstag, 27. Februar 2014

ssh Tunnel(n)

ssh -L 127.0.0.1:AAAA:SERVER:BBBB GATEWAY

oder


ssh -L AAAA:SERVER:BBBB GATEWAY

AAAA=Lokaler Port
SERVER=IP Remote Server
BBBB=Remote Port
GATEWAY=IP Gateway


Tunnel in Tunnel

ssh -p "SSH Port at Machine A" -l "your username at Machine A" -L 127.0.0.1:22222:127.0.0.1:444 "IPD/DNS of Machine A"