How to know how much time remains for expiration while secured metaspace is running?

How to know how much time remains for expiration while secured metaspace is running?

book

Article ID: KB0094201

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Description:

How to know how much time remains for expiration while secured metaspace is running?

Environment

Product: TIBCO BusinessEvents Version: OS: All Supported Operating Systems -------------------- Product: TIBCO ActiveSpaces Version: OS: All Supported Operating Systems --------------------

Resolution

Use OpenSSL to connect to the security domain and get the remaining time for the expiration of security policy files. Example follows.


>openssl s_client -connect localhost:60000|openssl x509 -noout -dates
depth=0 CN = mydomain-C93FA0EE
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = mydomain-C93FA0EE
verify return:1
notBefore=Oct  7 15:17:09 2015 GMT
notAfter=Oct  6 16:17:09 2016 GMT

Issue/Introduction

How to know how much time remains for expiration while secured metaspace is running?