Category Archives: Security

OpenSSL: Check if a certificate belongs to a private key

Hi,

if you want to check if a certificate has it s origin in a specific private key respectively the signing request use the following openssl commands:
Continue reading OpenSSL: Check if a certificate belongs to a private key

Advertisment to support michlstechblog.info

Apache: Protect a folder by a password, but one file is for public access

Hi,

let us assume you want to protect a whole directory by password and but one file must be readable for public access. This can easily be done by a .htaccess file.

For example: Who want to trotect the folder /var/www/html and only the file public.html should be readable without a password.
Continue reading Apache: Protect a folder by a password, but one file is for public access

Java: Error AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve

Hi,

you want to launch a Java Applet and you get an error like this AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve.

This error typically occurs when you start an applet and this applet want to open a socket connection to an different IP Address or TCP Port as the applet came from. Since Java 8 such action would blocked.

Continue reading Java: Error AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve

Windows 10: Powershell Script to protect your privacy

Hi,

this Powershell script is a try to protect your privacy in Windows 10.
Update 17.08.2016: Lot of adjustment to Windows 10 1607. Added more documentation
Continue reading Windows 10: Powershell Script to protect your privacy

Debian: Setup owncloud with TLS (LetsEncrypt) and protected by AppArmor

Hi,

this Tuturial describes the steps to setup owncloud on top of debian/raspian with lighttpd as webserver and https encryption with certificates sign by Let’s encrypt campain.

Operating System

Install a minimal debian jessie system.

Login as root. On raspbian login as user pi change to root.
Continue reading Debian: Setup owncloud with TLS (LetsEncrypt) and protected by AppArmor