== Changelog of 'Auto-Install Free SSL' == = 3.6.10 = * Updated the Freemius WordPress SDK to version 2.6.2. * [Pro] Fixed an issue with displaying a log message. = 3.6.9 = * Updated the Freemius WordPress SDK to version 2.6.1. * [Pro] Added an existing video documentation in the cPanel settings page. = 3.6.8 = * Introduced an email field in the first step of the SSL generation process to gather the admin email ID. This update ensures a valid email ID is provided for Let's Encrypt account registration. In previous versions, the WordPress Administration Email Address was used for this purpose. However, certain hosting providers' systems set an incorrect email as the WordPress Administration Email Address, leading to bounced emails for renewal reminders. = 3.6.7 = * Updated the Freemius WordPress SDK to version 2.6.0. = 3.6.6 = * Substituted the deprecated function get_currentuserinfo() with wp_get_current_user(). * Enhanced some instructions for manual SSL generation. * [Pro] Enhanced the logging code for cases where the '.well-known/acme-challenge' directory is not writable. = 3.6.5 = * In version 3.6.3, we introduced A record verification for all domain aliases against the server's IP address to cater to specific use cases. However, this caused issues for some websites, especially those using CDNs. In this update, we've adjusted our approach: by default, only the 'mail.' alias A record is verified, as was the case in version 3.6.2 and earlier. However, the user can enable A record verification for all domain aliases if needed by setting 'aifs_verify_ip_for_all_domain_alias' to true. = 3.6.4 = * Improved the detection process (and fixed a related bug) of the server's IPv4 address where the WordPress website is hosted. * Updated the Freemius WordPress SDK to version 2.5.12. = 3.6.3 = * Resolved a loading issue with the theme editor in the WordPress 6.3 dashboard when Force HTTPS is activated. * Enhanced IP address verification logic for all available domain aliases, as opposed to solely the 'mail.' alias in previous versions. Now, it filters out the alias if its A record differs from the server's IP address. Note that if the option 'aifs_verify_ip_for_mail_dot_domain_alias_only' is set to true, it will verify the IP address of the 'mail.' alias exclusively. However, if the option 'aifs_selected_verification_method_dns01' is set to true (making DNS-01 the default method), the above verification will not occur. * Updated the Freemius WordPress SDK to version 2.5.11. = 3.6.2 = * Enhanced error handling logic for cases where after submitting a request to the 'finalize' URL, the response from Let's Encrypt contains an empty 'certificate' key (location value). * Resolved an issue where the 'finalize' response was unintentionally removed from the database. * Introduced a new capability to activate the option 'aifs_log_all_ca_server_response' by accessing the following URL (login required): http://www.example.com/wp-admin/admin.php?page=auto_install_free_ssl&log_all_ca_server_response=yes (Please replace 'www.example.com' with your domain name.) = 3.6.1 = * Fixed the issue with character encoding for sending automated email notifications to support multilingual characters. * Added feature to write Let's Encrypt server response details in the log files for every API call (if the option 'aifs_log_all_ca_server_response' is set to true). This will be helpful for troubleshooting. * Removed WordPress translation function __() for some error and exception messages (which are intended for developers) to make those English only. * Tested up to: 6.3 = 3.6.0 = * Improved the domainsArray() function that filters domain and server alias. * Created a new function to detect the IPv4 of the server. * Created a new function to get the confirmed and domain-specific SSL certificate directory. * Improved the function that detects the cPanel host and fixed a premium version-specific issue with it. * Updated the Freemius WordPress SDK to 2.5.10 * Automatic entry of some initial data has been moved to the activation hook. * [Pro] Improved the function sslRequiredForFirstTime() * [Pro] Created a new function to detect if the given domains array has at least one Wildcard domain. * [Pro] Improved some SSL generation and installation logic. * [Pro] Added a feature that detects if the cPanel hostname was changed and updates it automatically. * [Pro] Added a feature that detects if cPanel credentials were changed and send notifications by email and admin notice. * [Pro] Improved the functionality to send notifications by email and admin notice if the encryption key was changed. = 3.5.1 = * Improved the function that detects whether the control panel is cPanel. * Improved the function that detects the cPanel host. * Fixed header display issue in some WordPress installations. * Fixed issue with the 'View log by Date' option where WordPress is installed on a sub-directory. * Updated the Freemius WordPress SDK to version 2.5.9 * Improved the function aifs_get_app_settings() to fix errors in some cases. * [Pro] Fixed issues with the cron job in some cases. = 3.5.0 = * Fixed the issue with the turn-off options of admin notice where WordPress is installed on a sub-directory of a domain. * Updated the documentation link. * Fixed the bug with the clean_log_directory function so that it can keep the latest 90 log files irrespective of the log creation date. * Improved the text of the installation tab (readme.txt) and in a few other places. * [Pro] Fixed the issue with the cpanel_host_callback() function so that it can detect the cPanel host correctly where WordPress is installed on a sub-directory of a domain. * [Pro] Improved the cron job. = 3.4.3 = * Updated the Freemius WordPress SDK to version 2.5.8 * Improved the last step of the progress bar for Generate SSL page. = 3.4.2 = * Fixed issues with the translation-ready sentences. * Updated the Freemius WordPress SDK to version 2.5.7 = 3.4.1 = * Updated the Freemius WordPress SDK to version 2.5.6. * Removed the function request_free_premium_license(), unused since January 1, 2023. = 3.4.0 = * Improved the layout of all the steps to generate free SSL certificate and the free vs. premium comparison page. * Refactored and created a few functions. * Updated the Freemius WordPress SDK to version 2.5.5. * Tested up to WordPress 6.2 = 3.3.2 = * Fixed the issue with upgrade URL for the users who used the free premium license but now downgraded to free version. * [Pro] Added cPanel username check to prevent using email id as cPanel username - display an error text if email id found. = 3.3.1 = * Fixed the issues with translation compatibility and made all the texts translation ready. = 3.3.0 = * Refactored to fix a bug where a fatal error would be thrown in combination with plugin that uses usrflo/registered-domain-libs library. * Fixed CSS conflict in combination with Enable Media Replace plugin. = 3.2.15 = * Updated the signature of the automated emails. * Updated display announcement. * [Pro] New function to detect if the user can use wildcard SSL. * [Pro] Improvement in code to smooth transition from free premium license (if the user was using wildcard SSL or multi-domain mode) to single or 5-site license. = 3.2.14 = * Added a new function to fetch the admin user's last name. * Added a new function to return the upgrade link for aifs_is_existing_user(). * Changed upgrade link for aifs_is_existing_user(). Previous link didn't work in some installations. = 3.2.13 = * Improved the function for better detecting cPanel host. * Fixed a bug that unexpectedly calls Generate SSL Manually Page (available for free version only) in some premium installations, which results in error of type E_ERROR. * Updated the Freemius WordPress SDK to version 2.5.3. * Updated display announcement. = 3.2.12 = * Improved the error handling at Step 1 of generating Free SSL Certificates. * Updated the Freemius WordPress SDK to version 2.5.2. * Changed the icon. * Improved the function that returns first name of the WordPress admin. = 3.2.11 = * Improved the Let's Encrypt ACME account key registration code. * Fixed a bug with error handling at the Domain Ownership verification step. = 3.2.10 = * [Pro] Fixed issue with SSL generation where the license is not for unlimited sites and the 'domain' key returned by cPanel is other than the WordPress website's domain. * Added Force HTTPS override. If a valid SSL is installed but there is any issue activating Force HTTPS with the default option, it can be activated by accessing such URL (login required): http://www.example.com/wp-admin/admin.php?page=aifs_force_https&aifsaction=aifs_force_https_override&checked_ssl_manually=done&valid_ssl_installed=yes (Replace 'www.example.com' with your domain.) = 3.2.9 = * Fixed a bug: duplicate display in admin notice (caused since version 3.2.7). = 3.2.8 = * Fixed backward compatibility for older versions of WordPress for wp_date() function. = 3.2.7 = * Fixed the issue with renewal link in the SSL renewal reminder email. * Fixed an issue with type casting in SSL renewal reminder with admin notice. * Added an option to keep or delete plugin data on deactivation. * Unschedule cron job event on deactivation. = 3.2.6 = * Improved the function that registers new ACME account. * Added a feature to send SSL renewal reminder by email before the SSL expiry date. = 3.2.5 = * Updated LET'S ENCRYPT SUBSCRIBER AGREEMENT. * Fixed an issue with the 'Remind me later' button of display review request admin notice. * Added a feature to display SSL renewal reminder with admin notice. = 3.2.4 = * Improved footer links by using separate links for free and premium version. * Improved logic of the submit button at manually generate SSL step 1 (free version) - now it does not display confirmation dialog if both checkboxes are selected. * Improved the comparison table which will be displayed on the non-cPanel websites. * Improved admin notice - if premium version, display review request only if the control panel is cPanel. * Improved the instructions which will be displayed on the main page of the free version, after purchasing the premium. = 3.2.3 = * Added a new function to detect the document root of the WP installation instead of using $_SERVER['DOCUMENT_ROOT']. * Improved the function getcPanelHost() that detects the cPanel host. * [Pro] Display the video tutorial 'How to Configure this Plugin and Set Up Automation in cPanel' only on cPanel hosting (to avoid confusion on non-cPanel hosting). = 3.2.2 = * Added a new function to detect Plesk. * Improved the logic of the documentation at SSL generation step 3 so that it can display the appropriate video with the specific control panel. * Improved the comparison table. * [Pro] Added (and replaced) 'What's next?' information if the control panel is not cPanel so that users contact us for complete automation with an alternative method. Updated the same text in the log and automated email. = 3.2.1 = * Fixed the slow loading issue of the Generate SSL (manually) page on Windows and on non-cPanel Linux hosting if the open_basedir restriction is in effect. * Improved text of the comparison table. = 3.2.0 = * Improved: Windows hosting is now supported for both free and Pro version. * [Pro] Improved text of the starting page for the users who don't have cPanel. * [Pro] Fixed the double redirect issue after clicking the button in the starting page to generate SSL certificate (for the users who don't have cPanel). = 3.1.3 = * Fixed an issue with manual SSL generation where the initial Let's Encrypt server response expiry date has been passed but SSL generation steps were not completed. * Updated video tutorials with vimeo-hosted videos. * [Pro] Improved automated email text, log text and main page text for the users, who don't have cPanel. * [Pro] Moved Activate Force HTTPS option at bottom of the main page and added video tutorial (How to Install SSL Certificate) in that place for the users, who don't have cPanel. * [Pro] Automated SSL installation now possible with an add-on shell script for the users who don't have cPanel, but have root access to the server. Premium users need to contact us to get the script. * [Pro] Added 'Single/Multi Domain' button in the main page. = 3.1.2 = * Improved comparison table and page. * Replaced the link of comparison table (in admin notice) with the improved comparison page. = 3.1.1 = * Improved the layout of step 2 (Verify Domain). * Replaced written tutorial with Video Tutorial (1) 'Plesk: How to upload HTTP-01 challenge files' (step 2). (2) 'Plesk: How to Install SSL Certificate' (step 3). * [Pro] Fixed a PHP Warning. * [Pro] Fixed issue with accessing the cPanel settings if the existing SSL expired, but the website forced to load over HTTPS. = 3.1.0 = * Added a new page and menu for 'Activate Force HTTPS'. * Added a button in the header 'Force HTTPS' to easily access the option. * Improved Generate SSL (manually) page: (1) At step 3, changed the position of the Video Tutorial 'cPanel: How to Install SSL Certificate', so that users can access it easily. (2) Moved 'Activate Force HTTPS' option at the bottom of this page (step 3). (3) Show 'Activate Force HTTPS' option only if an SSL certificate has been generated but Force HTTPS is not activated (step 3). * Added Tutorial content with Generate SSL (manually) page: (1) Video Tutorial 'cPanel: How to upload HTTP-01 challenge files' (step two). (2) Written Tutorial 'Plesk: How to upload HTTP-01 challenge files' (step 2). (3) Written Tutorial 'Plesk: How to Install SSL Certificate' (step 3). * [Pro] Improved cPanel Settings: (1) Added clear information that users need to use either an API Token or Password. Not both. (If the license is not for unlimited websites). (2) Changed the position of the Short Video Tutorial 'How to Create API Tokens in cPanel', so that users can access it easily. (3) Removed 'Activate Force HTTPS' option from the cPanel settings page. (4) Fixed the issue with checking whether password is filled in, if the user opted to generate wildcard SSL certificate. * [Pro] Added separate Support Forum URL for the premium version users, so that they don't post at the WordPress.org Support Forum. * [Pro] Added filter to show the contact submenu item only when the user have a valid non-expired license. = 3.0.7 = * Updated the Freemius WordPress SDK to version 2.4.5. * [Pro] Improved Exclude Domains settings. * [Pro] Fixed an issue with the function sslRequiredForFirstTime() that detects whether the plugin is generating SSL certificate for the first time. = 3.0.6 = * Advanced detection of the users who were using the plugin since free only version (v2). * Changed menu icon and menu position. * Improvement in header styling. * [Pro] Added new function to check cPanel connectivity. * Added new comparison table to help understand the difference between free and pro version better. = 3.0.5 = * Affiliate program launched - any one can join. * Fixed an issue with PHP 8. * [Pro] Added cPanel authentication with API Token. Users can provide API Token instead of Password. * [Pro] Improved cPanel Settings logging. = 3.0.4 = * Updated the freemius WP SDK to version 2.4.4. * Updated: keep SSL log for 90 days. * Fixed issue with admin alerts. * Improved the content of readme.txt. = 3.0.3 = * Fixed some issues for smooth upgrade from version 2 to Free version 3. * Improved a few text. = 3.0.2 = * Fixed a function name conflict with Form Maker Pro plugin. * Improved auto-detection [Pro] whether the plugin was used for multi-domain. This helps smooth upgrading to the Pro version 3 from version 2. = 3.0.1 = * Fixed an issue displaying the FREE Premium License offer (with admin notice) for the Existing users, who are upgrading from the free version 2.2.3 or earlier. = 3.0.0 = * Compatible with WordPress 6.0 * Fixed an issue displaying the 'Activate Force HTTPS' button. * Improved 'Activate Force HTTPS' feature. * Added a new feature to save the log for 45 days and easy access from the menu. * Improvement in the layout. * Fixed an issue with the parameter of function getDomainPath(), which returns the domain path. * As per the announcement dated November 3, 2020, we are releasing the premium/pro version, which is fully automated and this free version doesn't have any automation feature. We are offering a 6-month FREE premium license to all existing users (who are upgrading from the free version 2.2.3 or earlier). This FREE premium license is valid until December 31, 2022. Existing users need to upgrade the free plugin to version 3.0.0, then they’ll get the option to request the Premium License for FREE. * Improved setup process [Pro] Users can set it up within one minute in the single domain mode. * Improved cPanel Settings [Pro] * Improved Cron job [Pro] No need to manually configure the cron job. It is activated by default with WP cron. * Improved ‘Issue and install Free SSL certificate’ option [Pro] Now users can view the server-generated event messages in real-time with a terminal-like interface, with SSE. * Improved data entry [Pro] A few essential data are prefilled automatically. = 2.2.2 = * Fixed conflict with 'Post SMTP Mailer/Email Log' plugin. * Fixed an issue to make it translation ready. * Announcement to restructure the features. = 2.2.1 = * Removes parameter type declaration of the function connect_over_ssl() to make the plugin compatible with PHP 5.6. This function has been added in the version 2.2.0. = 2.2.0 = * Adds validation with the 'Activate Force HTTPS' option. Now it works only if a valid SSL installed on the website. * Changed the support link that appears in the footer of the admin pages. = 2.1.7 = * Fixed a bug with 'Issue and install Free SSL certificate' option * Improved the layout of 'Issue and install Free SSL certificate' option = 2.1.6 = * Adds video guide: How to Configure this Plugin and set up Automation = 2.1.5 = * Fixed minor error in the file DnsServiceProvidersSettings.php that throws PHP Notice: Undefined index: use_wildcard = 2.1.4 = * Improves 'Add Cron Job' option. * Adds two video guides: 'How to add a Cron Job in a minute on cPanel shared hosting' and 'How to Install Free SSL Certificate on cPanel Shared Hosting'. * Adds FAQ. = 2.1.3 = * Improves Force HTTPS feature. Regenerating dynamic CSS with premium themes will include HTTPS and remove the not secure warning in browsers. = 2.1.2 = * Fixed a bug with the dashboard of Auto-Install Free SSL. = 2.1.1 = * Fixed issue with the encryption key. * Adds admin notification and sends an email to admin in case the encryption key was changed due to a previous update. = 2.1.0 = * Improves internal validation (HTTP-01 challenge) - Before the domain ownership validation with Let's Encrypt, if the payload content doesn't match with content of the challenge URI (in internal check), attempt for automatic fix with .htaccess rules in two different ways. * Improves cPanel Settings option. * Improves Temporary SSL option. = 2.0.1 = * Fixed issues with PHP 5.6, 7.0 and 7.2 = 2.0.0 = * Adds the option to Activate Force HTTPS and remove mixed content warning with a single click. This feature will make the padlock visible in the browser's address bar. * Removes the option to choose Let's Encrypt ACME version. The plugin now uses ACME V2 only. Because V1 is reaching the end of life soon. = 1.1.0 = * Fixed issue with cron job = 1.0.0 = * Initial release