# lsusb
...
Bus 005 Device 014: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE
...
In this instance, the bus ID is 005
and the device ID is 014
.
This tutorial will guide you step-by-step to creating a certificate authority using OpenSSL, with a three-tier structure (root, intermediate, application). All key materials are created with ECC.
The first step is to create the directory in which the CA will reside. As a simple example, we will work out of /root/ca. We will create a directory, /root/ca/db, to store the CA database flat files. Within this directory, three files must be created as follows:
touch /root/ca/db/index.txt
touch /root/ca/db/index.txt.attr
echo 100000 > /root/ca/db/serial
By following this guide you will create an apache domain or subdomain with self-signed certificates, signed by your personal CA, and use this to authenticate clients. All certificates ECC.
First, create the CA's key and certificate. This will be used to sign all other certificates. In this example it is valid for 1 year. For the CN field anything is acceptable, preferably ca.<yourdomain>.<yourtld>.