Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 2.13 KB

CHANGELOG.md

File metadata and controls

27 lines (17 loc) · 2.13 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.4.0] - 2023-07-22

  • Support for multiple package managers: Updated the checkNeededPackages function to use the available package manager (apt-get, dnf, yum, or zypper) on the system. If no known package manager is found, the script will display a message and exit.
  • User-specified certificate validity: Added functions setValidityPeriod and checkValidityPeriod to allow the user to specify the validity period of the certificate (in days). This value is used when generating the certificate.
  • Code comments for improved readability: Introduced extensive inline comments to the script code. These comments aim to enhance readability and maintainability of the code by explaining the functionality of each segment of the script. This enhancement aids both developers and users in understanding and potentially adjusting the script according to their needs.

[1.3.0] - 2023-07-21

  • Removed sudo usage within script: The script already requires root privileges to run, and there's a function to check whether the script is run as root. So, sudo is no longer used when installing packages.
  • Introduced variables for directory paths: Directory paths like /etc/nginx/ssl and /etc/apache2/ssl are now represented by variables. This makes it easier to maintain and modify the script in the future.
  • Merged certificate generation functions: The parts of the script that generate SSL certificates for Nginx and Apache were very similar and have been merged into a single function. This function takes arguments to reduce repetition and improve maintainability.
  • Removed hard-coded server types: The server type (NginX or Apache) is now passed as an argument to the certificate generation function. This improves the modularity of the script.

[1.2.0] - 2020-05-01

[1.1.0] - 2015-11-04

[1.0.0] - 2015-05-25

  • Initial version of the SSL Certificate Creator script.