Create and check certificates ============================= Published : 1 January 2025 Reading : 1 min Tags : Security URL : https://ctrl-find.nl/posts/certificates/ Plain text : https://ctrl-find.nl/posts/certificates/index.txt ------------------------------------------------------------ ## Linux/MacOS OpenSSL #### MD5 modules You can use MD5 module to check if key and cert are a keypair toghter. ```bash openssl rsa -modulus -noout -in .key| openssl md5 openssl x509 -modulus -noout -in .crt| openssl md5 ``` #### Check cert ```bash openssl x509 -in .crt -text -noout ``` #### Check CSR ```bash openssl req -in .csr -noout -text ``` #### Short monitoring ```bash openssl x509 -in /.crt -noout -checkend 3888000 ``` ------------------------------------------------------------ NAVIGATION [index] https://ctrl-find.nl/posts/index.txt [<< prev] Gitlab locked login backdoor https://ctrl-find.nl/posts/gitlab_backdoor/index.txt [next >>] Ansible? what is that! https://ctrl-find.nl/posts/ansible/index.txt ------------------------------------------------------------ CTRL-Find — Debugging all systems https://ctrl-find.nl/