What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-25 03:45:02
macos localhost self signed certificate
cd /usr/local/etc/httpd/extra/cert sudo openssl genrsa -out ./localhost.key 2048 sudo openssl rsa -in ./localhost.key -out ./localhost.key.rsa sudo openssl req -new -key ./localhost.key.rsa -subj "/C=ar/ST=caba/L=caba/O=localhost/CN=localhost/" ... Add solution -
Shell/Bash 2022-02-24 10:15:02
openssl read cert
openssl x509 -in certificate.crt -text -noout Add solution -
Other 2022-02-03 04:07:19
use register variable ansible in other play
- name: "Cluster token" shell: kubeadm token list | cut -d ' ' -f1 | sed -n '2p' register: K8S_TOKEN - name: "CA Hash" shell: openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null |... Add solution -
Other 2021-10-18 14:22:05
error: error:0909006c:pem routines:get_name:no start line
You are probably using the wrong certificate file, what you need to do is generate a self signed certificate which can be done as follows openssl req -newkey rsa:2048 -new -nodes -keyout key.pem -out csr.pem openssl x509 -req -days 365 -in csr.pem -signk... Add solution -
Shell/Bash 2021-10-12 23:22:04
using both ca cert and certificate between server and client
#!/bin/bash BOLD=$(tput bold) CLEAR=$(tput sgr0) echo -e "${BOLD}Generating RSA AES-256 Private Key for Root Certificate Authority${CLEAR}" openssl genrsa -aes256 -out Root.CA.example.llc.key 4096 echo -e "${BOLD}Generating Certificate f... Add solution -
Other 2021-10-01 01:27:03
openssl verify cert
openssl x509 -in certificate.crt -text -noout Add solution
Best helpers
Ranking is empty