From 6b94292f2da8d3570af686a7e83bf58eedc201d6 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 6 Oct 2016 11:43:59 +0300 Subject: [PATCH] Detailed info about installed SSL certificate --- web/edit/web/index.php | 7 ++++ web/templates/admin/edit_web.html | 66 +++++++++++++++++++++++++++++++ web/templates/user/edit_web.html | 65 ++++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+) diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 3797eadc..c7fd411d 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -42,6 +42,13 @@ if ( $v_ssl == 'yes' ) { $v_ssl_crt = $ssl_str[$v_domain]['CRT']; $v_ssl_key = $ssl_str[$v_domain]['KEY']; $v_ssl_ca = $ssl_str[$v_domain]['CA']; + $v_ssl_subject = $ssl_str[$v_domain]['SUBJECT']; + $v_ssl_aliases = $ssl_str[$v_domain]['ALIASES']; + $v_ssl_not_before = $ssl_str[$v_domain]['NOT_BEFORE']; + $v_ssl_not_after = $ssl_str[$v_domain]['NOT_AFTER']; + $v_ssl_signature = $ssl_str[$v_domain]['SIGNATURE']; + $v_ssl_pub_key = $ssl_str[$v_domain]['PUB_KEY']; + $v_ssl_issuer = $ssl_str[$v_domain]['ISSUER']; } $v_ssl_home = $data[$v_domain]['SSL_HOME']; $v_backend_template = $data[$v_domain]['BACKEND']; diff --git a/web/templates/admin/edit_web.html b/web/templates/admin/edit_web.html index 249d557c..1848642f 100644 --- a/web/templates/admin/edit_web.html +++ b/web/templates/admin/edit_web.html @@ -235,6 +235,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ + + +
+ + diff --git a/web/templates/user/edit_web.html b/web/templates/user/edit_web.html index 89c4c77b..2f13a764 100644 --- a/web/templates/user/edit_web.html +++ b/web/templates/user/edit_web.html @@ -169,6 +169,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ + + +
+ +