private void warnRooCaCertExpired ( ) { X509Certificate cert = getRootCaCertificate ( ) ; if ( cert == null ) { return ; } String warnMsg = Constant . messages . getString ( "dynssl.warn.cert.expired" , cert . getNotAfter ( ) . toString ( ) , new Date ( ) . toString ( ) ) ; if ( View . isInitialised ( ) ) { getView ( ) . showWarningDialog ( warnMsg ) ; } logger . warn ( warnMsg ) ; }
Displays a warning dialog and logs a warning message if ZAPs Root CA certificate has expired .