From ff6fe922d9d555b7f76f44e64d04454c18fbe797 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Sun, 9 May 2021 11:06:57 +1000 Subject: [PATCH] make: build and check "gb.pem"; updated expired "gb.pem" (Closes: #178). Signed-off-by: Dmitry Smirnov --- Makefile | 12 ++++++++ gb.pem | 84 +++++++++++++++++++++++++++++++++----------------------- 2 files changed, 62 insertions(+), 34 deletions(-) diff --git a/Makefile b/Makefile index f0bfa6cc..7f28c550 100644 --- a/Makefile +++ b/Makefile @@ -784,6 +784,18 @@ install-pkgs-local: # DEBIAN PACKAGE SECTION END +gb.pem: + openssl req -x509 -nodes -days 365 \ + -subj '/C=US/ST=New Mexico/L=Albuquerque/O=Gigablast/CN=www.gigablast.com/emailAddress=jolivares@gigablast.com' \ + -newkey rsa:2048 -keyout $@ -out $@ \ + ; + +check_cert: gb.pem + openssl verify -CAfile gb.pem gb.pem + +check: check_cert + + # You may need: # sudo apt-get install libffi-dev libssl-dev warcinjector: diff --git a/gb.pem b/gb.pem index 556c6c73..2b862a91 100644 --- a/gb.pem +++ b/gb.pem @@ -1,36 +1,52 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDKjr+uKYWFuJc+ +yhy6iA00YEn1WPts6xoHqM+yijSeTdPTICvfjlnzgRLVw/+5d6/ZFCZZj+QGHufH +hnQ/PZeMrTJMKMht65KFrUY3VeZvYB149AsSxTNdxdfbzJmernicmOm0U/H3GtJA +brPg3KNsqVElA84wsY6xhYDOUt1iAy8T+Mb4idSjtVJoLGvHueUXs43AcPLpx9ZD +0H9Q0Lsy/znhDGzLUlsVQ4pZO3dpTUqn3fRPqYicPMYONuwM+rzfbzMaSpWPVEoS +cU0pkKadFYiSHfNHhH05wpoCn3pbEf3QQLbk+XuizkLhFOIJRRdu4TAtsfXi2Phx +4MD+XSvrAgMBAAECggEBAISzZmI8M4x6dSOel5mgfj4dAvbod7dQgroX3xIR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Xo1l/KxKLgkmavzECQQDhaRVm1LPoruyg -LUhK/APs15/YOYF9FLy1H/LVMfJ5xY1ze5ZEefcO4bRKfhP9InhoGmWpk3dYxiST -SA5ttvBZAkEA4SarLTKiLm5rEE9wLwELBYX70yKrCJF83qrVsKBxlzqgyyyoxMs+ -r7/YItH8sRLPQEu0v/cGFmmzPXg3RiSimwJBAJAGx/D7ibTsSC+Un3OiEZP8tpq/ -K7jTTjxhHJUSo/8gtmAKoJpCYBT3LG7InlcI9mx2KW0v13s2p9ofmXCLCokCQEZo -HzNdGBZI9TX+gWhRfS7W/S7DMpTVWiUPaw92vM67yLiAWK5hmFLBPUd2PvzokuLa -ScWV69NqbmCUjURkBG0CQCWKqg01osT4sgQqaLsUlNPwgJrcYSiDJdS9b6jnFKi7 -h4N5O8M9Oh55cs/bdi8R9po7d5yXEpwnhLNp317WgGw= ------END RSA PRIVATE KEY-----