Certificate

Prepare cert for specified ip (non-existing anymore)

Gen:

83.238.173.46
--certyfikat CA
openssl req -x509 -days 365 -newkey rsa:1024  -keyout /etc/ssl/private/ca.key  -out /etc/ssl/ca.crt
--klucz prywatny
openssl genrsa -des3 -out 83.238.173.46.key 1024
--request z vigora do pliku  83.238.173.46.csr
openssl x509 -req -days 365 -in 83.238.173.46.csr -out 83.238.173.46.crt -CA /etc/ssl/ca.crt -CAkey /etc/ssl/private/ca.key -CAcreateserial -extfile /etc/ssl/x509v3.cnf -extensions x509v3_IPAddr
--import do vigora
--utworzenie cert dla usera

openssl req -new -nodes -out jareeq.csr -keyout jareeq.key -days 365 -config openssl.cnf
openssl x509 -req -days 365 -in jareeq.csr -out jareeq.crt -CA /etc/ssl/ca.crt -CAkey /etc/ssl/private/ca.key -CAcreateserial -extfile /etc/ssl/x509v3.cnf -extensions x509v3_FQDN
openssl pkcs12 -export -out jareeq.p12 -in jareeq.crt -inkey jareeq.key