4/14/2023 0 Comments Keystore explorer jks(Line 58) #Comment out if you want to send as WARNING email. Do not forget about to set your local “_scriptPath” value.Ĥ.Comment out below section for the SMTP email delivery. By default, I have set it with 7 which means it will start to send ALERT emails 7 days before the certificate expiration.ģ.2. #!/bin/bash #Author: M.Fevzi Korkutata | Last day of 2017 (New year PARTY script) #Change environment variables: _scriptPath=/home/oracle/scripts/monitorJKS _keytool="/u01/weblogic/jdk8/jdk1.8.0_112/bin/keytool" _keystore="/u01/weblogic/Middleware12212/wlserver/server/lib/DemoTrust.jks" _keystorepass="DemoTrustKeyStorePassPhrase" _thresholdDay="7" Info:ģ.1.Change “_thresholdDay” value according to your preference. Step by Step Script Usage and Integration via Server CRON Job:ġ.Download monitorJKS folder and upload to your server (Do it at the end, firstly read the whole tutorial)Ģ.Edit environment variables according to your server and WebLogic installation paths. Go to my GitHub project page to download entire project. I’ll explain two method for doing this JKS certificate monitoring in WebLogic.Īt the end of post I’ll put download link of the script and you can download it. Then decided to write a new one from scratch to iterate all JKS aliases in the JKS file. I have found some other scripts available but all of them based on JKS alias entries. There are too many alternatives to do that. How to monitor imported certificates (CRT, CER) expiry / expiration date in a JKS (Java Keystore) file and create remaining day alerts/notifications? Monitoring Certificate Expiry Dates of a JAVA Keystore (.JKS) File in a WebLogic Domain (Shell Script, Scheduling, Alerting)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |