OpenSSL project is an open-source general purpose cryptography library that implements the
The configuration file for OpenSSL is
openssl.cnf. The location of which will probably vary across Linux distributions. On Red Hat systems the configuration file is as shown below.
You can use this file to define certain default values. For example, editing the
dir variable sets the default directory for saving your certificates. You will need to first create the directory if you change this value.
dir = /certs/ssl/ca
Some additional variables I like to set are as shown below. You might also want to consider entering in this information if you generate a lot of self-signed certificates.
default_days = 3650
default_bits = 2048
countryName_default = US
stateOrProvinceName_default = Washington
localityName_default = Seattle
0.organizationName_default = My Company
commonName_default = example.com
emailAddress_default = email@example.com
By replacing these details with your own, will prevent you from having to enter this information in manually each and every time you create a new CSR (Certificate Signing Request).
More stuff here…
More stuff here…
OpenSSL: Cryptography and SSL/TLS toolkit
How do I Compress a Whole Linux or UNIX Directory?
nmap -sS 18.104.22.168
nmap -PN 22.214.171.124 -p 22
The -PN option treats the host as if it is online and will not perform any host discovery.
curl -I http://pikedom.com
The locate command can be used to find files by name.
As usual you can find out everything you could possibly want to know about the the locate command in the manual pages.
Essentially, locate, at set periods runs a cron job indexing each file name into a database. The locate command simply searches the database for a given file name. If you know the file you are searching for is new, you might first need to update the locate database with
In its simplest form, to find a file called myfile.txt, run.
You can use the find command to search a system for files or directories. The find command can be quite resource intensive as it trawls recursively through your file structure. Often a more suitable command is locate. See here for more information about the locate command.
As usual you should head to the manual pages to find out more.
In its simplest form, you can use the find command like this.
find / -name myfile.txt
The ‘/’ is the directory to start recursively searching from. We use the ‘-name’ command line option to indicate we are searching on the files name. In this case the string we are searching for is myfile.txt.