Category: Security

Convert CRT and KEY files to PEM files

Typically I only do this if I need to run a server that uses PEM’s only. Convert CRT to PEM openssl x509 -in SOURCE.crt -out SOURCE.crt.der -outform DER This will make a DER file that can be removed afterwards. openssl

Tagged with: , , ,

UFW Allow access to IP on a specific port

In order to allow a specific IP address to access a specific port on your server protected with UFW, issue the following command: ufw allow from [ipAddress] proto [tcp|udp] to any port [port] To delete this rule issue the following

Tagged with: , , ,