Skip to content

Check a list of domains for both domain expiration and SSL certificate expiration.

License

Notifications You must be signed in to change notification settings

Adobe-Android/cert-alert

Repository files navigation

cert-alert

Check a list of domains for both domain expiration and SSL certificate expiration.

Usage

Clone the repo

git clone https://github.com/Adobe-Android/cert-alert.git

Prepare the virtual environment

Install virtualenv if it is not already installed or use the Python 3.5+ venv.

python -m pipx install virtualenv

If you do not have pipx installed, either install it with pip (command below) or first install pipx.

python -m pip install --user virtualenv

Go to the project directory.

cd cert-alert

Next, we can actually create our virtual environment inside of our newly cloned directory.

virtualenv env

Activate the virtual environment using the appropriate files for our environment. I'll include commands for the most common scenarios below. More information can be found here

Bash (macOS, Linux, or other Unix)

source env/bin/activate

PowerShell (Windows)

.\env\Scripts\Activate.ps1

Command Prompt (Windows)

.\env\Scripts\activate.bat

Install the necessary packages

python -m pip install -r requirements.txt

Run

python -m main.py

Congratulations! You've reached the end of the instructions here, but this is really only the start.

References

Troubleshooting (Install pipx)

python -m pip install --user -U pipx
python -m pipx ensurepath

Troubleshooting (Windows)

If you are having trouble on Windows specifically, I'd suggest you clean out the following directories. I've found these issues to be common when you've maintained a Windows install long enough to have downloaded at least a few Python versions over time, even if you only have the latest installed now.

C:\Users\tngam\.local - delete bin and pipx folders
C:\Users\tngam\AppData\Roaming\Python - delete all folders

If you are on macOS or Linux, you probably aren't having these sorts of problems, but feel free to open an issue.

About

Check a list of domains for both domain expiration and SSL certificate expiration.

Topics

Resources

License

Stars

Watchers

Forks