From: Frank Brehm Date: Sun, 26 Feb 2012 09:24:21 +0000 (+0100) Subject: Renewed postfix TLS certificate X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=1a167d7f1b9abe895e695da64cdae6a65574f185;p=config%2Fbruni%2Fetc.git Renewed postfix TLS certificate --- diff --git a/postfix/mkpostfixcert b/postfix/mkpostfixcert index 3a628eaf..9a2522be 100755 --- a/postfix/mkpostfixcert +++ b/postfix/mkpostfixcert @@ -32,7 +32,7 @@ cleanup() { } dd if=/dev/urandom of=$randfile count=1 2>/dev/null -/usr/bin/openssl req -new -x509 -days 365 -nodes \ +/usr/bin/openssl req -new -x509 -days 3650 -nodes \ -config $conffile -out $pemfile -keyout $pemfile || cleanup /usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup /usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup diff --git a/postfix/postfix.pem b/postfix/postfix.pem index bfdf5c1a..e72a6e36 100644 --- a/postfix/postfix.pem +++ b/postfix/postfix.pem @@ -1,38 +1,39 @@ ------BEGIN RSA PRIVATE KEY----- -MIICXAIBAAKBgQDvWgysU2pznkohI5/eu+kKAfNx4urqTRuhdBcbeAUM6+F/ow3T -+Ur2g7nLO0fKnNtb5dhiUOXsbXNhsIzGroP0gA4BvZbc/1/fBG8ClyrSU7nfcUeO -s71Q8L5jPFQSAmSiqcmWpsqB1R0ZIXfg+3VR/8SK9NPHqEOv19MYRBgbcQIDAQAB -AoGBAODs+6nZfdkG8FyyEKOMbNPFv5PPjbj/Gy8fXDOpFv3skO2UOgNwavy8DxYo -MC/8Nbvng+/oXBlRRbOQ6Mow57hEceaxOuuzCfPzuIlyTsoPtOnQ03Owphc0WhfZ -oGlmEaCARsKVhyiXCskq2UoZiW4XZREdGCFeehVe8VWCTTLRAkEA+uqTlpyUJOS9 -7Au5k21oji5yI7xeGlte68wguJa5e0ms4i/Eq6bRh1ELT8PzofnTxaD5IkI9uict -KTEFcJyUPQJBAPQzfcS9RLN3q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O9aDKxTanOeSiEjn9676QoB83Hi6upNG6F0Fxt4BQzr4X+jDdP5SvaDucs7 -R8qc21vl2GJQ5extc2GwjMaug/SADgG9ltz/X98EbwKXKtJTud9xR46zvVDwvmM8 -VBICZKKpyZamyoHVHRkhd+D7dVH/xIr008eoQ6/X0xhEGBtxAgMBAAGjFTATMBEG -CWCGSAGG+EIBAQQEAwIGQDANBgkqhkiG9w0BAQQFAAOBgQCI2HdzTipa5e4uERSO -v1fKskjg0Vg7Yxale46E/kzP81m/f16297W7a7TX+qvaTJm3yEhNYrO6Pe+RBbq9 -BdqQRBo0XgmlOoHEC62zr1gBU87J7YU9zb53IyIiMqyj3Gb9haWz1BImFYDx0RXw -jD4shKOjt1jwObCkAQYD/8m5zQ== +AoGBAMj6IujGdFMkGVpfnosjTl37NJLJxVI/9Iu014QP95Tg4kBvtpRlANBc9Owy +Voo0sfyC+Vp9C5BJXpGgN9ucYitxk0B6Q1oinLg7xGKw+bnFwi+7Eo7A9T6nQBZP +8Ez9aLmaw7ouYTTe7kA9Fo9XxjVb4rEX2y7orPPWTGF7rEZTAgMBAAGjFTATMBEG +CWCGSAGG+EIBAQQEAwIGQDANBgkqhkiG9w0BAQUFAAOBgQAvN4/tgkNHNlPf0XXp +C+TkD1nUrhSgTdmu40T1++1CCyqO549XZF5gv867UNOFemASg2T09eyDj3qi9z6n +nAvmMjXAJwDdwOEJizfweF7yHclyGQRWYklYBcc3QRbIHr8XK6Iu6kdiIXc7LSKe +CfPn/pBDVqqAqE8b1K1V6VqE8w== -----END CERTIFICATE----- -----BEGIN DH PARAMETERS----- -MEYCQQDdb6eFRGq++XpQdOwtuY7ln61YeEJmahW2qZ5Th/aONTNayIsdAWxEa0hl -lyxrfl/6D4uqPbC0nJjU7IUsAOXzAgEC +MEYCQQDcwhaYu2/+D0cMshnppQ2LrmRk0r7LgbElZOpfxYB7snRcpr9luxX4aX32 +0Dva0D8f/gXCgPr/6V7rM5DBJR2DAgEC -----END DH PARAMETERS-----