baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

InterSSL RapidSSL unter nginx einrichten

in nginx/conf/gitlab-http.conf listen *:443 ssl; server_name git.b-nm.at; ssl_certificate /var/opt/gitlab/nginx/ssl/git.b-nm.at.crt.ca.pem; ssl_certificate_key /var/opt/gitlab/nginx/ssl/git.b-nm.at.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; wobei git.b-nm.at.crt.ca.pem eine zuammenkopierte datei ist aus: a) dem git.b-nm.at.crt (wie von InterSSL geliefert) b) dem https://www.interssl.at/ca_interssl_rapidssl_osx.pem

IMAP mit self-signed SSL Zertifikat per PHP abrufen

< ? php /* connect to IMAP */ $hostname = '{my.b-nm.at:993/imap/novalidate-cert/ssl}INBOX'; $username = 'mailuser'; $password = 'kennwort'; /* try to connect */ $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to B-NM: ' . imap_last_error()); /* grab emails */ $emails = imap_search($inbox,'ALL'); /* if emails are returned, cycle through each... */ if($emails) { /* begin output var […]

Optipng und Jpegoptim

find ./ -type f -name "*.png" -exec optipng {} \; find ./ -type f -name "*.jpg" -exec jpegoptim –strip-all {} \; find ./ -type f -name "*.jpeg" -exec jpegoptim –strip-all {} \;

Prepaid Internet im Ausland SIM

Empfehlenswerte Mobile 3G Router: HUAWEI E5331 HUAWEI E5332 Deutschland: http://www.blau.de/ oder noch günstiger (ebenfalls E-Plus) https://www.alditalk.de/ Schweiz: http://prepaid-data-sim-card.wikia.com/wiki/Switzerland Spanien:  http://prepaid-data-sim-card.wikia.com/wiki/Spain Italien: http://prepaid-data-sim-card.wikia.com/wiki/Italy Ungarn: http://prepaid-data-sim-card.wikia.com/wiki/Hungary Siehe auch: https://www.worldsim.com/

InterSSL RapidSSL auf Mac OSX Server einrichten – OpenSSL Fehler “error 2 at 1 depth lookup:unable to get issuer certificate”

Die neuen SHA-256 Zertifikate werden von OSX Server nicht automatisch als vertrauenswürdig erkannt. Lösung: https://www.interssl.at/ca_interssl_rapidssl_osx.pem downloaden und doppelt anklicken, sodass es als “System” eintrag in die Schlüsselbundverwaltung importiert wird. – Danach wird RapidSSL Zertifikat problemlos erkannt. OpenSSL Fehler bei RapidSSL SHA-256 G3 Zertifikaten (früher SHA-1) unter OSX  openssl verify -CAfile ca_rapidssl.crt mycert.crt “error 2 at 0 depth […]

Previous Posts Next posts