Changeset 2873419
- Timestamp:
- 03/02/2023 05:31:39 AM (3 years ago)
- Location:
- auto-install-free-ssl
- Files:
-
- 276 added
- 8 edited
-
tags/3.3.2 (added)
-
tags/3.3.2/FreeSSLAuto (added)
-
tags/3.3.2/FreeSSLAuto/src (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/AcmeV2.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/Base64UrlSafeEncoder.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/Client.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/ClientInterface.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/Factory.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Acme/openssl.cnf (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/AdminNotice.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/AutoDataEntry.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/Factory.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/ForceHttpsPage.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/ForceSSL.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/HomeOptions.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Admin/Log.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Controller.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Email.php (added)
-
tags/3.3.2/FreeSSLAuto/src/Logger.php (added)
-
tags/3.3.2/assets (added)
-
tags/3.3.2/assets/css (added)
-
tags/3.3.2/assets/css/aifs-admin.css (added)
-
tags/3.3.2/assets/img (added)
-
tags/3.3.2/assets/img/icon.jpg (added)
-
tags/3.3.2/assets/img/ssl-error.jpg (added)
-
tags/3.3.2/assets/js (added)
-
tags/3.3.2/assets/js/script.js (added)
-
tags/3.3.2/auto-install-free-ssl.php (added)
-
tags/3.3.2/composer.json (added)
-
tags/3.3.2/composer.lock (added)
-
tags/3.3.2/freemius (added)
-
tags/3.3.2/freemius/LICENSE.txt (added)
-
tags/3.3.2/freemius/assets (added)
-
tags/3.3.2/freemius/assets/css (added)
-
tags/3.3.2/freemius/assets/css/admin (added)
-
tags/3.3.2/freemius/assets/css/admin/account.css (added)
-
tags/3.3.2/freemius/assets/css/admin/add-ons.css (added)
-
tags/3.3.2/freemius/assets/css/admin/affiliation.css (added)
-
tags/3.3.2/freemius/assets/css/admin/checkout.css (added)
-
tags/3.3.2/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/3.3.2/freemius/assets/css/admin/common.css (added)
-
tags/3.3.2/freemius/assets/css/admin/connect.css (added)
-
tags/3.3.2/freemius/assets/css/admin/debug.css (added)
-
tags/3.3.2/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/3.3.2/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/3.3.2/freemius/assets/css/admin/index.php (added)
-
tags/3.3.2/freemius/assets/css/admin/optout.css (added)
-
tags/3.3.2/freemius/assets/css/admin/plugins.css (added)
-
tags/3.3.2/freemius/assets/css/customizer.css (added)
-
tags/3.3.2/freemius/assets/css/index.php (added)
-
tags/3.3.2/freemius/assets/img (added)
-
tags/3.3.2/freemius/assets/img/auto-install-free-ssl.png (added)
-
tags/3.3.2/freemius/assets/img/index.php (added)
-
tags/3.3.2/freemius/assets/img/plugin-icon.png (added)
-
tags/3.3.2/freemius/assets/img/theme-icon.png (added)
-
tags/3.3.2/freemius/assets/index.php (added)
-
tags/3.3.2/freemius/assets/js (added)
-
tags/3.3.2/freemius/assets/js/index.php (added)
-
tags/3.3.2/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/3.3.2/freemius/assets/js/nojquery.ba-postmessage.min.js (added)
-
tags/3.3.2/freemius/assets/js/postmessage.js (added)
-
tags/3.3.2/freemius/config.php (added)
-
tags/3.3.2/freemius/includes (added)
-
tags/3.3.2/freemius/includes/class-freemius-abstract.php (added)
-
tags/3.3.2/freemius/includes/class-freemius.php (added)
-
tags/3.3.2/freemius/includes/class-fs-admin-notices.php (added)
-
tags/3.3.2/freemius/includes/class-fs-api.php (added)
-
tags/3.3.2/freemius/includes/class-fs-lock.php (added)
-
tags/3.3.2/freemius/includes/class-fs-logger.php (added)
-
tags/3.3.2/freemius/includes/class-fs-options.php (added)
-
tags/3.3.2/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/3.3.2/freemius/includes/class-fs-security.php (added)
-
tags/3.3.2/freemius/includes/class-fs-storage.php (added)
-
tags/3.3.2/freemius/includes/class-fs-user-lock.php (added)
-
tags/3.3.2/freemius/includes/customizer (added)
-
tags/3.3.2/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/3.3.2/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/3.3.2/freemius/includes/customizer/index.php (added)
-
tags/3.3.2/freemius/includes/debug (added)
-
tags/3.3.2/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/3.3.2/freemius/includes/debug/debug-bar-start.php (added)
-
tags/3.3.2/freemius/includes/debug/index.php (added)
-
tags/3.3.2/freemius/includes/entities (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-billing.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-entity.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-payment.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-site.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/3.3.2/freemius/includes/entities/class-fs-user.php (added)
-
tags/3.3.2/freemius/includes/entities/index.php (added)
-
tags/3.3.2/freemius/includes/fs-core-functions.php (added)
-
tags/3.3.2/freemius/includes/fs-essential-functions.php (added)
-
tags/3.3.2/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/3.3.2/freemius/includes/i18n.php (added)
-
tags/3.3.2/freemius/includes/index.php (added)
-
tags/3.3.2/freemius/includes/l10n.php (added)
-
tags/3.3.2/freemius/includes/managers (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/3.3.2/freemius/includes/managers/index.php (added)
-
tags/3.3.2/freemius/includes/sdk (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/3.3.2/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/3.3.2/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/3.3.2/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/3.3.2/freemius/includes/sdk/LICENSE.txt (added)
-
tags/3.3.2/freemius/includes/sdk/index.php (added)
-
tags/3.3.2/freemius/includes/supplements (added)
-
tags/3.3.2/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/3.3.2/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/3.3.2/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/3.3.2/freemius/includes/supplements/index.php (added)
-
tags/3.3.2/freemius/index.php (added)
-
tags/3.3.2/freemius/languages (added)
-
tags/3.3.2/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/3.3.2/freemius/languages/freemius-da_DK.mo (added)
-
tags/3.3.2/freemius/languages/freemius-de_DE.mo (added)
-
tags/3.3.2/freemius/languages/freemius-en.mo (added)
-
tags/3.3.2/freemius/languages/freemius-es_ES.mo (added)
-
tags/3.3.2/freemius/languages/freemius-fr_FR.mo (added)
-
tags/3.3.2/freemius/languages/freemius-he_IL.mo (added)
-
tags/3.3.2/freemius/languages/freemius-hu_HU.mo (added)
-
tags/3.3.2/freemius/languages/freemius-it_IT.mo (added)
-
tags/3.3.2/freemius/languages/freemius-ja.mo (added)
-
tags/3.3.2/freemius/languages/freemius-nl_NL.mo (added)
-
tags/3.3.2/freemius/languages/freemius-ru_RU.mo (added)
-
tags/3.3.2/freemius/languages/freemius-ta.mo (added)
-
tags/3.3.2/freemius/languages/freemius-zh_CN.mo (added)
-
tags/3.3.2/freemius/languages/freemius.pot (added)
-
tags/3.3.2/freemius/languages/index.php (added)
-
tags/3.3.2/freemius/require.php (added)
-
tags/3.3.2/freemius/start.php (added)
-
tags/3.3.2/freemius/templates (added)
-
tags/3.3.2/freemius/templates/account (added)
-
tags/3.3.2/freemius/templates/account.php (added)
-
tags/3.3.2/freemius/templates/account/billing.php (added)
-
tags/3.3.2/freemius/templates/account/index.php (added)
-
tags/3.3.2/freemius/templates/account/partials (added)
-
tags/3.3.2/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/3.3.2/freemius/templates/account/partials/addon.php (added)
-
tags/3.3.2/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/3.3.2/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/3.3.2/freemius/templates/account/partials/index.php (added)
-
tags/3.3.2/freemius/templates/account/partials/site.php (added)
-
tags/3.3.2/freemius/templates/account/payments.php (added)
-
tags/3.3.2/freemius/templates/add-ons.php (added)
-
tags/3.3.2/freemius/templates/add-trial-to-pricing.php (added)
-
tags/3.3.2/freemius/templates/admin-notice.php (added)
-
tags/3.3.2/freemius/templates/ajax-loader.php (added)
-
tags/3.3.2/freemius/templates/auto-installation.php (added)
-
tags/3.3.2/freemius/templates/checkout.php (added)
-
tags/3.3.2/freemius/templates/clone-resolution-js.php (added)
-
tags/3.3.2/freemius/templates/connect (added)
-
tags/3.3.2/freemius/templates/connect.php (added)
-
tags/3.3.2/freemius/templates/connect/index.php (added)
-
tags/3.3.2/freemius/templates/connect/permission.php (added)
-
tags/3.3.2/freemius/templates/connect/permissions-group.php (added)
-
tags/3.3.2/freemius/templates/contact.php (added)
-
tags/3.3.2/freemius/templates/debug (added)
-
tags/3.3.2/freemius/templates/debug.php (added)
-
tags/3.3.2/freemius/templates/debug/api-calls.php (added)
-
tags/3.3.2/freemius/templates/debug/index.php (added)
-
tags/3.3.2/freemius/templates/debug/logger.php (added)
-
tags/3.3.2/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/3.3.2/freemius/templates/debug/scheduled-crons.php (added)
-
tags/3.3.2/freemius/templates/email.php (added)
-
tags/3.3.2/freemius/templates/firewall-issues-js.php (added)
-
tags/3.3.2/freemius/templates/forms (added)
-
tags/3.3.2/freemius/templates/forms/affiliation.php (added)
-
tags/3.3.2/freemius/templates/forms/data-debug-mode.php (added)
-
tags/3.3.2/freemius/templates/forms/deactivation (added)
-
tags/3.3.2/freemius/templates/forms/deactivation/contact.php (added)
-
tags/3.3.2/freemius/templates/forms/deactivation/form.php (added)
-
tags/3.3.2/freemius/templates/forms/deactivation/index.php (added)
-
tags/3.3.2/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/3.3.2/freemius/templates/forms/email-address-update.php (added)
-
tags/3.3.2/freemius/templates/forms/index.php (added)
-
tags/3.3.2/freemius/templates/forms/license-activation.php (added)
-
tags/3.3.2/freemius/templates/forms/optout.php (added)
-
tags/3.3.2/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/3.3.2/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/3.3.2/freemius/templates/forms/resend-key.php (added)
-
tags/3.3.2/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/3.3.2/freemius/templates/forms/trial-start.php (added)
-
tags/3.3.2/freemius/templates/forms/user-change.php (added)
-
tags/3.3.2/freemius/templates/gdpr-optin-js.php (added)
-
tags/3.3.2/freemius/templates/index.php (added)
-
tags/3.3.2/freemius/templates/js (added)
-
tags/3.3.2/freemius/templates/js/index.php (added)
-
tags/3.3.2/freemius/templates/js/jquery.content-change.php (added)
-
tags/3.3.2/freemius/templates/js/open-license-activation.php (added)
-
tags/3.3.2/freemius/templates/js/permissions.php (added)
-
tags/3.3.2/freemius/templates/js/style-premium-theme.php (added)
-
tags/3.3.2/freemius/templates/partials (added)
-
tags/3.3.2/freemius/templates/partials/index.php (added)
-
tags/3.3.2/freemius/templates/partials/network-activation.php (added)
-
tags/3.3.2/freemius/templates/plugin-icon.php (added)
-
tags/3.3.2/freemius/templates/plugin-info (added)
-
tags/3.3.2/freemius/templates/plugin-info/description.php (added)
-
tags/3.3.2/freemius/templates/plugin-info/features.php (added)
-
tags/3.3.2/freemius/templates/plugin-info/index.php (added)
-
tags/3.3.2/freemius/templates/plugin-info/screenshots.php (added)
-
tags/3.3.2/freemius/templates/powered-by.php (added)
-
tags/3.3.2/freemius/templates/pricing.php (added)
-
tags/3.3.2/freemius/templates/secure-https-header.php (added)
-
tags/3.3.2/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/3.3.2/freemius/templates/tabs-capture-js.php (added)
-
tags/3.3.2/freemius/templates/tabs.php (added)
-
tags/3.3.2/index.php (added)
-
tags/3.3.2/languages (added)
-
tags/3.3.2/languages/index.php (added)
-
tags/3.3.2/license.txt (added)
-
tags/3.3.2/readme.txt (added)
-
tags/3.3.2/vendor (added)
-
tags/3.3.2/vendor/autoload.php (added)
-
tags/3.3.2/vendor/bin (added)
-
tags/3.3.2/vendor/composer (added)
-
tags/3.3.2/vendor/composer/ClassLoader.php (added)
-
tags/3.3.2/vendor/composer/InstalledVersions.php (added)
-
tags/3.3.2/vendor/composer/LICENSE (added)
-
tags/3.3.2/vendor/composer/autoload_classmap.php (added)
-
tags/3.3.2/vendor/composer/autoload_files.php (added)
-
tags/3.3.2/vendor/composer/autoload_namespaces.php (added)
-
tags/3.3.2/vendor/composer/autoload_psr4.php (added)
-
tags/3.3.2/vendor/composer/autoload_real.php (added)
-
tags/3.3.2/vendor/composer/autoload_static.php (added)
-
tags/3.3.2/vendor/composer/installed.json (added)
-
tags/3.3.2/vendor/composer/installed.php (added)
-
tags/3.3.2/vendor/composer/platform_check.php (added)
-
tags/3.3.2/vendor/indigophp (added)
-
tags/3.3.2/vendor/indigophp/hash-compat (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/CHANGELOG.md (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/LICENSE (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/README.md (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/Vagrantfile (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/composer.json (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/src (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/src/hash_equals.php (added)
-
tags/3.3.2/vendor/indigophp/hash-compat/src/hash_pbkdf2.php (added)
-
tags/3.3.2/vendor/usrflo (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/.gitignore (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP/effectiveTLDs.inc.php (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP/regDomain.class.php (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP/regDomain.inc.php (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.php (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.sh (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/README.txt (added)
-
tags/3.3.2/vendor/usrflo/registered-domain-libs/generateEffectiveTLDs.php (added)
-
trunk/FreeSSLAuto/src/Admin/Factory.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Admin/ForceHttpsPage.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Admin/ForceSSL.php (modified) (5 diffs)
-
trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (modified) (4 diffs)
-
trunk/FreeSSLAuto/src/Admin/HomeOptions.php (modified) (7 diffs)
-
trunk/FreeSSLAuto/src/Email.php (modified) (1 diff)
-
trunk/auto-install-free-ssl.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/Factory.php
r2868890 r2873419 954 954 * @since 3.2.14 955 955 */ 956 /* 957 * public function upgrade_url_for_existing_users_v00(){ 958 if(aifs_is_free_version() && aifssl_fs()->get_user()->id != 5953244){ 959 $link = aifssl_fs()->get_upgrade_url(); 960 } 961 else { 962 963 $link = "https://checkout.freemius.com/mode/dialog/plugin/10204/plan/17218/?coupon=ThankYou"; 964 $admin_email = get_option( 'admin_email' ); 965 $admin_first_name = aifs_admin_first_name(); 966 $admin_last_name = aifs_admin_last_name(); 967 968 if ( strpos( $admin_email, "secureserver.net" ) === false && strpos( $admin_email, "example.com" ) === false && strpos( $admin_email, "example.org" ) === false ) { 969 $link .= "&user_email=" . $admin_email; 970 } 971 972 if ( strlen( $admin_first_name ) > 0 ) { 973 $link .= "&user_firstname=" . ucfirst( $admin_first_name ); 974 } 975 976 if ( strlen( $admin_last_name ) > 0 ) { 977 $link .= "&user_lastname=" . ucfirst( $admin_last_name ); 978 } 979 980 $link .= "&hide_license_key=true&title=Auto-Install%20Free%20SSL&subtitle=Continue%20using%20our%20premium%20features%20after%20Dec%2031,%202022"; 981 } 982 983 return $link; 984 }*/ 985 /** 986 * Upgrade URL for aifs_is_existing_user() or user who used free premium six months license. 987 * Refactored since 3.3.2 988 * @return string 989 * @since 3.2.14 990 */ 956 991 public function upgrade_url_for_existing_users() 957 992 { 958 993 959 if ( aifs_is_free_version() ) { 960 $link = aifssl_fs()->get_upgrade_url(); 961 } else { 962 $link = "https://checkout.freemius.com/mode/dialog/plugin/10204/plan/17218/?coupon=ThankYou"; 994 if ( aifs_is_existing_user() ) { 995 $coupon_code = ( time() < strtotime( "February 1, 2023" ) ? "ThankYou" : "ThankYou20" ); 996 } else { 997 $coupon_code = false; 998 } 999 1000 return $this->upgrade_url( $coupon_code ); 1001 } 1002 1003 /** 1004 * Get the Upgrade URL and customize it, if required 1005 * @param string|bool $coupon_code 1006 * @param string|bool $query_string 1007 * @return string 1008 * @since 3.3.2 1009 */ 1010 public function upgrade_url( $coupon_code = false, $query_string = false ) 1011 { 1012 1013 if ( aifssl_fs()->get_user()->id == 5953244 ) { 1014 $link = "https://checkout.freemius.com/mode/dialog/plugin/10204/plan/17218/?title=Auto-Install%20Free%20SSL&subtitle=Automatically%20renews%20and%20installs%20SSL%20cert%20in%20your%20sleep!"; 963 1015 $admin_email = get_option( 'admin_email' ); 964 1016 $admin_first_name = aifs_admin_first_name(); 965 1017 $admin_last_name = aifs_admin_last_name(); 966 if ( strpos( $admin_email, "secureserver.net" ) === false && strpos( $admin_email, "example.com" ) === false && strpos( $admin_email, "example.org" ) === false ) { 967 $link .= "&user_email=" . $admin_email; 968 } 969 if ( strlen( $admin_first_name ) > 0 ) { 970 $link .= "&user_firstname=" . ucfirst( $admin_first_name ); 971 } 972 if ( strlen( $admin_last_name ) > 0 ) { 973 $link .= "&user_lastname=" . ucfirst( $admin_last_name ); 974 } 975 $link .= "&hide_license_key=true&title=Auto-Install%20Free%20SSL&subtitle=Continue%20using%20our%20premium%20features%20after%20Dec%2031,%202022"; 976 } 977 1018 1019 if ( aifs_is_free_version() ) { 1020 if ( strpos( $admin_email, "secureserver.net" ) === false && strpos( $admin_email, "example.com" ) === false && strpos( $admin_email, "example.org" ) === false ) { 1021 $link .= "&user_email=" . $admin_email; 1022 } 1023 if ( strlen( $admin_first_name ) > 0 ) { 1024 $link .= "&user_firstname=" . ucfirst( $admin_first_name ); 1025 } 1026 if ( strlen( $admin_last_name ) > 0 ) { 1027 $link .= "&user_lastname=" . ucfirst( $admin_last_name ); 1028 } 1029 } else { 1030 $license = aifssl_fs()->_get_license(); 1031 if ( is_object( $license ) ) { 1032 $link .= "&license_key=" . $license->secret_key; 1033 } 1034 } 1035 1036 $link .= "&hide_license_key=true"; 1037 } else { 1038 $link = aifssl_fs()->get_upgrade_url(); 1039 } 1040 1041 if ( $coupon_code ) { 1042 $link .= "&coupon=" . $coupon_code; 1043 } 1044 if ( $query_string ) { 1045 $link .= "&" . $query_string; 1046 } 978 1047 return $link; 979 1048 } -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/ForceHttpsPage.php
r2811237 r2873419 60 60 { 61 61 add_submenu_page('auto_install_free_ssl', __("Force HTTPS Page", 'auto-install-free-ssl'), __("Force HTTPS", 'auto-install-free-ssl'), 'manage_options', 'aifs_force_https', array( $this, 'force_https_admin_page')); 62 63 if((!aifs_is_free_version() || aifssl_fs()->get_user()->id == 5953244) && !aifs_license_is_unlimited()) { 64 $menu_title = aifs_is_free_version() ? __( "Upgrade to Premium", 'auto-install-free-ssl' ) : __( "Upgrade License", 'auto-install-free-ssl' ); 65 aifssl_fs()->add_submenu_link_item( $menu_title, $this->factory->upgrade_url(), 'upgrade-license' ); 66 } 62 67 } 63 68 -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/ForceSSL.php
r2868890 r2873419 50 50 */ 51 51 private $admin_email ; 52 private $factory ; 52 53 public function __construct() 53 54 { … … 75 76 76 77 $this->admin_email = get_option( 'admin_email' ); 78 $this->factory = new Factory(); 77 79 $this->logger = new Logger(); 78 80 } … … 294 296 ) 295 297 { 296 $factory = new Factory();297 298 $site_url = aifs_get_domain( false ); 298 $ssl_issued_to_this_domain = $ factory->is_ssl_issued_and_valid( $site_url );299 $ssl_issued_to_this_domain = $this->factory->is_ssl_issued_and_valid( $site_url ); 299 300 $html = ""; 300 301 … … 349 350 350 351 if ( isset( $_POST['aifs_force_ssl'] ) && absint( $_POST['aifs_force_ssl'] ) == 1 ) { 351 $factory = new Factory(); 352 $ssl_details = $factory->is_ssl_installed_on_this_website(); 352 $ssl_details = $this->factory->is_ssl_installed_on_this_website(); 353 353 354 354 if ( $ssl_details !== true && !$ssl_details['domain_site']['ssl_installed'] ) { … … 488 488 $body .= "<a href='{$revert_url}'>{$revert_url}</a><br /><br />"; 489 489 $body .= __( "Clicking the above link will instantly deactivate force HTTPS and revert your website to HTTP.", 'auto-install-free-ssl' ) . "<br /><br />"; 490 $body .= sprintf( __( "But if the issue persists, %sclick here%s for documentation on more options on how to revert to HTTP.", 'auto-install-free-ssl' ), '<a href="https://freessl.tech/free-ssl-certificate-for-wordpress-website/#reverthttp" target="_blank">', '</a>' ) ;490 $body .= sprintf( __( "But if the issue persists, %sclick here%s for documentation on more options on how to revert to HTTP.", 'auto-install-free-ssl' ), '<a href="https://freessl.tech/free-ssl-certificate-for-wordpress-website/#reverthttp" target="_blank">', '</a>' ) . "<br /><br />"; 491 491 $email = new Email(); 492 492 $body .= $email->add_review_request_in_email(); -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php
r2868890 r2873419 165 165 166 166 <?= aifs_header() ?> 167 167 168 168 <table style="width: 100%; margin-bottom: 2%;"> 169 169 <tr> … … 252 252 253 253 <p><?= __( "Did you know that automated SSL Certificate installation is possible with our Premium Version?" ) ?></p> 254 <p><?= sprintf(__( "Do you need automation for all the steps? %sUpgrade to the %sPremium Version%s.", 'auto-install-free-ssl' ), '<br />', '<a href="'. aifssl_fs()->get_upgrade_url(WP_FS__PERIOD_ANNUALLY) .'">', '</a>') ?></p>254 <p><?= sprintf(__( "Do you need automation for all the steps? %sUpgrade to the %sPremium Version%s.", 'auto-install-free-ssl' ), '<br />', '<a href="'. $this->factory->upgrade_url() .'">', '</a>') ?></p> 255 255 256 256 </td> … … 382 382 </table> 383 383 384 <p style="text-align: right;"><a href="<?= admin_url('admin.php?page=auto_install_free_ssl-pricing') ?>" class="button button-primary"><?= __( "Upgrade to Pro", 'auto-install-free-ssl' ) ?></a></p>384 <p style="text-align: right;"><a href="<?= $this->factory->upgrade_url() ?>" class="button button-primary"><?= __( "Upgrade to Pro", 'auto-install-free-ssl' ) ?></a></p> 385 385 <p>* <em><?= sprintf(__( "If you need the plugin to work on all websites in the same %s, you need %s minutes (once).", 'auto-install-free-ssl' ), ((isset($this->appConfig['is_cpanel']) && $this->appConfig['is_cpanel']) ? 'cPanel' : 'hosting'), ((isset($this->appConfig['is_cpanel']) && $this->appConfig['is_cpanel']) ? '9' : '10')) ?></em></p> 386 386 </td> … … 973 973 //$error_text .= "authorizations: " .count( $this->return_array_step1['response']['authorizations'] ) ." number_of_validated_domains_internal: ".$number_of_validated_domains_internal ." "; 974 974 $error_text .= "<span style='color: green;'>"; 975 $error_text .= "<br />" . sprintf(__("Upgrade to the %sP RO version%s for fully automatic domain verification, automated SSL installation & renewal.", 'auto-install-free-ssl'), '<a href="'. aifssl_fs()->get_upgrade_url() .'">', '</a>');975 $error_text .= "<br />" . sprintf(__("Upgrade to the %sPremium Version%s for fully automatic domain verification, automated SSL installation & renewal.", 'auto-install-free-ssl'), '<a href="'. $this->factory->upgrade_url() .'">', '</a>'); 976 976 $error_text .= "</span>"; 977 977 -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php
r2868890 r2873419 131 131 if ( aifs_is_free_version() ) { 132 132 $text_display .= '<br /><strong><s>' . sprintf( __( "This plugin will renew & install the SSL automatically %s days before the expiry.", 'auto-install-free-ssl' ), 30 ) . '</s></strong>'; 133 $text_display .= '<br /><div class="aifs-premium"><span class="dashicons dashicons-arrow-up-alt"></span> ' . sprintf( __( "Upgrade to %sPremium Version%s to avail of this.", 'auto-install-free-ssl' ), '<a href="' . admin_url( 'admin.php?page=auto_install_free_ssl-pricing') . '">', '</a>' ) . ' <span class="dashicons dashicons-arrow-up-alt"></span></div>';133 $text_display .= '<br /><div class="aifs-premium"><span class="dashicons dashicons-arrow-up-alt"></span> ' . sprintf( __( "Upgrade to the %sPremium Version%s to avail of this.", 'auto-install-free-ssl' ), '<a href="' . $this->factory->upgrade_url() . '">', '</a>' ) . ' <span class="dashicons dashicons-arrow-up-alt"></span></div>'; 134 134 } 135 135 … … 328 328 <?php 329 329 330 if ( $this->factory->is_cpanel() && (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2023" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "December 1, 2022" )) ) { 330 if ( $this->factory->is_cpanel() && (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2024" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "December 1, 2022" )) ) { 331 $coupon_code = "AutoInstall10"; 331 332 echo '<div style="background: white; color: black; margin: 2% 0; padding: 1% 1.5%; border-style: solid; border-width: 1px; border-color: green;"><p style="font-size: medium; margin: 0;">' ; 332 333 echo '<span class="dashicons dashicons-megaphone" style="font-size: xx-large; color: #5F97FB;"></span> ' . sprintf( … … 334 335 "<span style='color: red;'>10%", 335 336 "</span>", 336 "<strong>' AutoInstall10'</strong>"337 "<strong>'{$coupon_code}'</strong>" 337 338 ) ; 338 339 echo '</p></div>' ; 340 } else { 341 $coupon_code = false; 339 342 } 340 343 … … 704 707 <!-- Buttons --> 705 708 <?php 709 $coupon = ( $coupon_code ? "&coupon=" . $coupon_code : "" ); 706 710 $free = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_free_plan', 'aifsfree' ); 707 $pro = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_pro_plan', 'aifspro' ) ;708 $pro_unlimited = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_pro_unlimited_plan', 'aifsprounlimited' ) ;711 $pro = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_pro_plan', 'aifspro' ) . $coupon; 712 $pro_unlimited = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_pro_unlimited_plan', 'aifsprounlimited' ) . $coupon; 709 713 ?> 710 714 <tr> … … 766 770 { 767 771 772 if ( isset( $_GET['coupon'] ) ) { 773 $coupon_code = $_GET['coupon']; 774 } else { 775 $coupon_code = false; 776 } 777 778 768 779 if ( isset( $_GET['aifsfree'] ) ) { 769 780 //FREE plan selected … … 781 792 } 782 793 update_option( 'aifs_premium_plan_selected', get_option( 'aifs_premium_plan_selected' ) + 1 ); 783 wp_redirect( admin_url( 'admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19386¤cy=usd' ) ); 794 //wp_redirect(admin_url('admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19386¤cy=usd')); 795 wp_redirect( $this->factory->upgrade_url( $coupon_code, "checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19386¤cy=usd" ) ); 784 796 } else { 785 797 … … 790 802 } 791 803 update_option( 'aifs_premium_plan_selected', get_option( 'aifs_premium_plan_selected' ) + 1 ); 792 wp_redirect( admin_url( 'admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19771¤cy=usd' ) ); 804 //wp_redirect(admin_url('admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19771¤cy=usd')); 805 wp_redirect( $this->factory->upgrade_url( $coupon_code, "checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19771¤cy=usd" ) ); 793 806 } 794 807 -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Email.php
r2868890 r2873419 139 139 $body .= "<p>" . sprintf( __( "%sClick here%s to Renew your SSL today.", 'auto-install-free-ssl' ), '<a href="' . $renew_url . '">', '</a>' ) . "</p>"; 140 140 $body .= "<p>" . sprintf( 141 __( "%sDo you want automatic renewal every 60 days?%s %sClick here%s to upgrade to a premium licenseusing this %s discount code: %s The offer expires soon.%s", 'auto-install-free-ssl' ),141 __( "%sDo you want automatic renewal every 60 days?%s %sClick here%s to upgrade to the Premium Version using this %s discount code: %s The offer expires soon.%s", 'auto-install-free-ssl' ), 142 142 '<strong>', 143 143 '</strong>', 144 '<a href="' . aifssl_fs()->get_upgrade_url() . '">',144 '<a href="' . $this->factory->upgrade_url() . '">', 145 145 '</a>', 146 146 $discount_percentage, -
auto-install-free-ssl/trunk/auto-install-free-ssl.php
r2868890 r2873419 7 7 * Plugin URI: https://freessl.tech 8 8 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders. 9 * Version: 3.3. 19 * Version: 3.3.2 10 10 * Requires at least: 4.1 11 11 * Requires PHP: 5.6 … … 781 781 782 782 /** 783 * Check if the premium license is for unlimited websites 784 * @return bool 785 * @since 3.0.0 786 */ 787 function aifs_license_is_unlimited() 788 { 789 //For free version always return false 790 return false; 791 } 792 793 /** 783 794 * CSS style for Powered by text 784 795 * @return string -
auto-install-free-ssl/trunk/readme.txt
r2868890 r2873419 7 7 Requires at least: 4.1 8 8 Tested up to: 6.1 9 Stable tag: 3.3. 19 Stable tag: 3.3.2 10 10 Requires PHP: 5.6 11 11 Development location: https://freessl.tech … … 18 18 ### Auto-Install Free SSL 19 19 20 ** It is the 1st WordPress Plugin that Automatically issues and installs Free SSL Certificates.**21 22 Let ’s Encrypt™ SSL Certificate is FREE. But they provide it through their API. If you are not a programmer, you need to study and practice programming for years to be able to use the API of Let’s Encrypt™ to generate a single Free SSL Certificate for your WordPress website.23 24 Here is where ‘Auto-Install Free SSL’ comes into play. With this WordPress plugin, you can generate the Let’s Encrypt™ Free SSL Certificate with ease! You don’t need to have programming or coding experience to set it up. All you need is a few minutes. Yes! You read it right!20 **'Auto Install Free SSL' is the first WordPress Plugin that Automatically issues and installs Free SSL Certificates.** 21 22 Let's Encrypt™ SSL Certificate is FREE. But they provide it through their API. If you are not a programmer, you need to study and practice programming for years to be able to use the API of Let's Encrypt™ to generate a single Free SSL Certificate for your WordPress website. 23 24 Here is where 'Auto-Install Free SSL' comes into play. This WordPress plugin provides a hassle-free way to obtain and install the Let's Encrypt™ free SSL certificate for your website. You don't need programming or coding experience to set it up. With this plugin, you don't need to spend hours configuring SSL or waste money purchasing SSL certificates. All you need is a few minutes. 25 25 26 26 https://vimeo.com/745390051 27 27 28 28 29 ` 2 88,500+ DOWNLOADS!!`29 ` 293,500+ DOWNLOADS!!` 30 30 31 31 32 32 ### Minimum System Requirements 33 33 34 * Linux or Windows hosting (**Windows hosting is now supported**)34 * Linux or Windows hosting 35 35 * WordPress 4.1 36 36 * PHP 5.6 … … 46 46 * Video tutorial on cPanel: (1) How to upload HTTP-01 challenge files to verify domain ownership. (2) How to Install the Free SSL Certificate. 47 47 * Written tutorial on Plesk for the above two topics. 48 * One-click Force SSL activation, i.e., HTTPS redirect, fix insecure links and mixed content warning, display the padlock in the browser ’s address bar with ONLY ONE CLICK.48 * One-click Force SSL activation, i.e., HTTPS redirect, fix insecure links and mixed content warning, display the padlock in the browser's address bar with ONLY ONE CLICK. 49 49 * One-click revert to HTTP if required. 50 50 * Automatic renewal reminder by email and admin notice before the SSL expiry date. … … 52 52 53 53 54 ` Use this plugin only for HTTPS redirects too `54 ` Use this plugin only for HTTPS redirects too. ` 55 55 If your WordPress website has an SSL certificate installed and you are looking ONLY for Force SSL activation (i.e., HTTPS redirect, fix insecure content), you can use the FREE version. 56 56 … … 71 71 * Works on all the websites hosted on a cPanel / web hosting. 72 72 * SSL installation training for non-cPanel websites. 73 * You can revoke any SSL certificate and change your Let’s Encrypt™ account key if you need it.73 * If needed, you can revoke any SSL certificate and change your Let's Encrypt™ account key. 74 74 75 75 [BUY PREMIUM VERSION](https://freessl.tech/free-ssl-certificate-for-wordpress-website/) … … 78 78 ### Benefits of installing an SSL certificate on your WordPress website 79 79 80 1. **Protect your users' data:** If an SSL certificate is installed, your WordPress website ’s data travels through the internet with 2048-bit (or more) encryption. No computer or hacker in-between can read your users’ encrypted data. Only the intended recipient (users’ browser or your server) can decrypt and read the encrypted data. The data may be credit card-like criticalpayment details, user input with a contact form, or a simple login form.81 82 1. **Display PADLOCK:** Installing an SSL certificate is not optional anymore, even if your WordPress website doesn ’t accept credit cards. Since July 2018 with the release of version 68, Google Chrome started to mark all HTTP (no SSL) websites as 'Not secure', even if it doesn't accept user input. All other browsers followed the same path. All the browsers display a secured PADLOCK in the address bar when users visit an SSL-secured website.83 84 1. **Boost the Search Engine Ranking:** Google and other search engines aim to create a secure web. So the search engines now favor SSL-secured HTTPS websites and discourage insecure ones in the search results. If your WordPress website doesn’t have an SSL certificate installed you are missing something big, in terms ofSEO and staying away from potential customers.80 1. **Protect your users' data:** If an SSL certificate is installed, your WordPress website's data travels through the internet with 2048-bit (or more) encryption. No computer or hacker in between can read your users' encrypted data. Only the intended recipient (users' browser or your server) can decrypt and read the encrypted data. The data may be credit card-like necessary payment details, user input with a contact form, or a simple login form. 81 82 1. **Display PADLOCK:** Installing an SSL certificate is not optional anymore, even if your WordPress website doesn't accept credit cards. Since July 2018, with version 68, Google Chrome has started to mark all HTTP (no SSL) websites as 'Not secure', even if it doesn't accept user input. All other browsers followed the same path. When users visit an SSL-secured website, all browsers display a secured PADLOCK in the address bar. 83 84 1. **Boost the Search Engine Ranking:** Google and other search engines aim to create a secure web. So, search engines now favor SSL-secured HTTPS websites and discourage insecure ones in the search results. If your WordPress website doesn't have an SSL certificate installed, you are missing something significant regarding SEO and staying away from potential customers. 85 85 86 86 1. **Gain the trust of your users:** If users see the secured PADLOCK and HTTPS connection in the URL, they are assured that your website is secured. Now you are gaining the trust of your potential customers. They are confident to purchase your product or service. … … 97 97 98 98 99 ## ‘AUTO-INSTALL FREE SSL’IN YOUR LANGUAGE?100 101 If you would like to translate in your language, [translations can be added very easily here.](https://translate.wordpress.org/projects/wp-plugins/auto-install-free-ssl/) 99 ## 'AUTO-INSTALL FREE SSL' IN YOUR LANGUAGE? 100 101 [Translations can be added easily here](https://translate.wordpress.org/projects/wp-plugins/auto-install-free-ssl/) if you want to translate in your language. 102 102 103 103 … … 126 126 ### AUTOMATIC INSTALLATION (POPULAR AND EASIEST) 127 127 128 1. Log in to the dashboard (backend/ admin area) of your WordPress website.129 1. Then navigate to the ‘Plugins’ menu in the sidebar, and click the ‘Add New’option.130 1. In the ‘Search plugins…’ field type this keyword: ‘Auto-Install Free SSL’ or, you may type ‘Auto-Install’too.131 1. Once you f ound this plugin, you can click ‘More Details’ and then click the ‘Install Now’button.132 1. Finally, click the ‘Activate’button.128 1. Log in to your WordPress dashboard (backend/ admin area). 129 1. Then navigate to the 'Plugins' menu in the sidebar, and click the 'Add New' option. 130 1. In the 'Search plugins…' field, type this keyword: 'Auto-Install Free SSL', or you may type 'Auto-Install' too. 131 1. Once you find this plugin, click 'More Details' and the 'Install Now' button. 132 1. Finally, click the 'Activate' button. 133 133 134 134 Now, check the AFTER ACTIVATION section below. … … 137 137 ### MANUAL INSTALLATION 138 138 139 1. Download the ‘Auto-Install Free SSL’ plugin zip file by clicking the ‘Download’button at the top-right of this page.139 1. Download the 'Auto-Install Free SSL' plugin zip file by clicking the 'Download' button at the top-right of this page. 140 140 141 141 Now check either the cPanel or FTP section below. If your web hosting control panel is other than cPanel, the steps are similar to cPanel. 142 142 143 143 ### cPanel 144 * Log in to your cPanel and click the ‘File Manager’menu.144 * Log in to your cPanel and click the 'File Manager' menu. 145 145 * Browse to the document root of your WordPress website and then open the `/wp-content/plugins/` directory. 146 146 * Click the 'Upload' menu at the top. 147 * You see a new window. Drag and drop the plugin ’s zip file. It will be uploaded in a few seconds (depending on the speed of your internet connection). Click **Go Back to“/home/username/public_html/wp-site-document-root/wp-content/plugins”** link at the bottom.148 * Right-click on the plugin ’s zip file and click ‘Extract’ and then click the ‘Extract Files’ button. After complete, you get Extraction Results. Click the ‘Close’button here.149 * Click the ‘Go’ button (at the top-left) to refresh the directory structure. You see the **‘auto-install-free-ssl’** directory here.147 * You see a new window. Drag and drop the plugin's zip file. It will be uploaded in a few seconds (depending on your internet connection speed). Click **Go Back to the “/home/username/public_html/wp-site-document-root/wp-content/plugins”** link at the bottom. 148 * Right-click on the plugin's zip file, click 'Extract', and then click the 'Extract Files' button. After completion, you get Extraction Results. Click the 'Close' button here. 149 * Click the 'Go' button (at the top-left) to refresh the directory structure. You see the **'auto-install-free-ssl'** directory here. 150 150 * Now check the point-number 2 below. 151 151 152 152 ### FTP 153 * Extract the plugin ’s zip file to your computer. You see a folder ‘auto-install-free-ssl.3.0.3’ (you’ll see the latest version in place of 3.0.3) and inside it, the **‘auto-install-free-ssl’** folder. You need to upload this.154 * Log in to your web server with your favorite FTP client (e.g. FileZilla).153 * Extract the plugin's zip file to your computer. You see a folder 'auto-install-free-ssl.3.3.1' (the latest version in place of 3.3.1), and inside it, the **'auto-install-free-ssl'** folder. You need to upload this. 154 * Log in to your web server with your favorite FTP client (e.g., FileZilla). 155 155 * Browse to the document root of your WordPress website and then the `/wp-content/plugins/` directory. 156 * Upload the ** ‘auto-install-free-ssl’** folder here.156 * Upload the **'auto-install-free-ssl'** folder here. 157 157 * Now check the point-number 2 below. 158 158 159 2.- Log in to your WordPress dashboard and go to the ‘Plugins’ page. You see ‘Auto-Install Free SSL’ is listed here. Click the ‘Activate’ option here. You’re done!159 2.- Log in to your WordPress dashboard and go to the 'Plugins' page. You see, 'Auto-Install Free SSL' is listed here. Click the 'Activate' option here. You're done! 160 160 161 161 ### AFTER ACTIVATION 162 After activating ‘Auto-Install Free SSL’ you’ll be redirected to a page (powered by freemius) where we request you to opt-in to our security & feature update notifications and non-sensitive diagnostic tracking. We appreciate your help in making the plugin better by letting us track a few non-sensitive usage data. You’ll get links there to learn about this in detail. Then you may or may not allow us to opt-in as per your wish.162 After activating 'Auto-Install Free SSL', you'll be redirected to a page (powered by freemius) where we request you opt-in to our security & feature update notifications and non-sensitive diagnostic tracking. You'll get links there to learn about this in detail. Then you may or may not allow us to opt-in as you wish. We appreciate your help improving the plugin by letting us track a few non-sensitive usage data. 163 163 164 164 165 165 **How to generate a Free SSL Certificate** 166 166 167 Generating a free SSL certificate is very easy andstraightforward. Please follow the steps below:168 169 1. After the previous step, you ’ll be redirected to the Generate SSL page (in most cases). Otherwise, navigate to the ‘Auto-Install Free SSL’ menu in the sidebar, and click the ‘Generate SSL’option. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-1.png?rev=2750244)170 1. On the next page, i.e., the ‘Generate Free SSL Certificate’ page, read & agree to the Let's Encrypt Subscriber Agreement and FreeSSL.tech Terms of Service & Privacy Policy by clicking the relevant checkboxes. Then click the ‘Generate Free SSL’ button, and in the confirmation dialog box click ‘OK’. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-2.png?rev=2750244)171 1. Wait a few seconds. Then you see the second step: ‘Verify Domain’. Please check the [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-3.png?rev=2750244). You have two methods, HTTP-01 and DNS-01, to verify your domain ownership. You need to complete any one method. Here we are discussing the HTTP-01 method only. Because it is the most popular, easiest, and mosttime-saving method.167 Generating a free SSL certificate is straightforward. Please follow the steps below: 168 169 1. After the previous step, you'll be redirected to the Generate SSL page (in most cases). Otherwise, navigate to the 'Auto-Install Free SSL' menu in the sidebar, and click the 'Generate SSL' option. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-1.png?rev=2750244) 170 1. On the next page, i.e., the 'Generate Free SSL Certificate' page, read & agree to the Let's Encrypt Subscriber Agreement and FreeSSL.tech Terms of Service & Privacy Policy by clicking the relevant checkboxes. Then click the 'Generate Free SSL' button and 'OK' in the confirmation dialog box. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-2.png?rev=2750244) 171 1. Wait a few seconds. Then you see the second step: 'Verify Domain'. Please check the [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-3.png?rev=2750244). You have two methods, HTTP-01 and DNS-01, to verify your domain ownership. You need to complete any one method. We are discussing only the HTTP-01 method, the most popular, easiest, and time-saving method. 172 172 173 173 ### HTTP-01 174 HTTP-01 tab is selected by default.Please follow these steps:175 176 * Log in to your web server with an FTP client (e.g. FileZilla) or the file manager of your web hosting control panel.177 * Browse to the document root of your WordPress website. It will be like: `/home/username/public_html/wp-site` . Create a directory **‘.well-known’** and create another directory **‘acme-challenge’** inside the **‘.well-known’** directory.178 * Click the links ‘Challenge File 1’ and ‘Challenge File 2’ to download the HTTP-01 challenge files. Please remember that if the ***www.*** alias of your WordPress website doesn’t point to your web server (i.e., offline)you get only one challenge file.174 Please follow these steps: 175 176 * Log in to your web server with an FTP client (e.g., FileZilla) or the file manager of your web hosting control panel. 177 * Browse to the document root of your WordPress website. It will be like: `/home/username/public_html/wp-site` . Create a directory, **'.well-known'** and another directory, **'acme-challenge'**, inside the **'.well-known'** directory. 178 * Click the links' Challenge File 1' and 'Challenge File 2' to download the HTTP-01 challenge files. Please remember that if the ***www.*** alias of your WordPress website doesn't point to your web server (i.e., offline), you get only one challenge file. 179 179 * Upload the downloaded challenge files to the **'acme-challenge'** directory. 180 * Uploaded files should be available at ‘Link 1’ and ‘Link 2’. Please click the links. The content/text of the links should EXACTLY match the content of the downloaded files. If it matched correctly, then click the ‘Verify Domain & Get SSL’ button, and in the confirmation dialog box click ‘OK’.181 182 Now wait a few seconds and you see a free SSL certificate has been issued to your WordPress website. The page looks like this [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-4.png?rev=2750244). Download the SSL, Private Key, and CA Bundle files (**.pem**) by clicking on the givenlinks.180 * Uploaded files should be available at 'Link 1' and 'Link 2'. Please click the links. The content/text of the links should EXACTLY match the content of the downloaded files. If it matches correctly, click the 'Verify Domain & Get SSL' button, and in the confirmation dialog box, click 'OK'. 181 182 Now wait a few seconds, and you will see a free SSL certificate has been issued to your WordPress website. The page looks like this [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-4.png?rev=2750244). Download the SSL, Private Key, and CA Bundle files (**.pem**) by clicking the links. 183 183 184 184 After this, log in to your web hosting control panel and install the SSL certificate on your WordPress website. … … 189 189 190 190 1. Log in to your cPanel. 191 1. In the ‘Search Tools’ text box (on the upper-right corner) type ‘SSL’ (the lower case will also work).192 1. You get a few search results instantly. Click on the ‘SSL/TLS’. (Don’t click on the ‘SSL/TLS Status’.)193 1. On the SSL/TLS page, you get an option ‘INSTALL AND MANAGE SSL FOR YOUR SITE (HTTPS)’ at the bottom with a link ‘Manage SSL sites.’ Click onit.194 1. On the next page, i.e., ‘Manage SSL Hosts’, you get a section at the bottom of the page ‘Install an SSL Website’. Here you get a form to install the SSL certificate.195 1. From the ‘Select a Domain’drop-down menu, select the domain of your WordPress website.196 1. Open the ** ‘certificate.pem’** file (you downloaded it) in a text editor and copy all its content/text including ‘-----BEGIN CERTIFICATE-----’ and ‘-----END CERTIFICATE-----’. Paste it in the ‘Certificate: (CRT)’text area.197 1. Similarly, paste all the content of the ** ‘private.pem’** file in the ‘Private Key (KEY)’text area.198 1. Then paste all the content of the ** ‘cabundle.pem’** file in the ‘Certificate Authority Bundle: (CABUNDLE)’text area.199 1. Now click the ‘Install Certificate’ button and wait just a few seconds. Then you get the confirmation dialog box ‘SSL Host Successfully Installed.’ Click ‘OK’.191 1. Type 'SSL' in the 'Search Tools' text box (in the upper-right corner). 192 1. You get a few search results instantly. Click on the 'SSL/TLS'. (Don't click the 'SSL/TLS Status'.) 193 1. On the SSL/TLS page, you get an option 'INSTALL AND MANAGE SSL FOR YOUR SITE (HTTPS)' at the bottom with a link 'Manage SSL sites.' Click it. 194 1. On the next page, i.e., 'Manage SSL Hosts', you get a section at the bottom, 'Install an SSL Website'. Here you get a form to install the SSL certificate. 195 1. From the 'Select a Domain' drop-down menu, select the domain of your WordPress website. 196 1. Open the **'certificate.pem'** file (you downloaded it) in a text editor and copy all its content/text, including '—–BEGIN CERTIFICATE—–' and '—–END CERTIFICATE—–'. Paste it in the 'Certificate: (CRT)' text area. 197 1. Similarly, paste all the content of the **'private.pem'** file in the 'Private Key (KEY)' text area. 198 1. Then paste all the content of the **'cabundle.pem'** file in the 'Certificate Authority Bundle: (CABUNDLE)' text area. 199 1. Now click the 'Install Certificate' button and wait a few seconds. Then you get the confirmation dialog box 'SSL Host Successfully Installed.' Click 'OK'. 200 200 201 201 … … 207 207 1. Click on the website for which you need an SSL certificate. There are several options under it. 208 208 1. Click the option 'SSL/TLS Certificates'. 209 1. On the next page, in the 'Download or remove existing certificates' option, click the 'Manage' button.210 1. On the next page, click the 'Add SSL/TLS Certificate' button.209 1. Click the 'Manage' button on the next page in the 'Download or remove existing certificates' option. 210 1. Click the 'Add SSL/TLS Certificate' button on the next page. 211 211 1. You got the 'Add SSL/TLS Certificate' page. 212 212 1. In the 'Certificate Name' text field, write a name. 213 1. You got a section at the bottom of the page ‘Upload the certificate as text’. Here you have a form to install the SSL certificate.214 1. Open the ** ‘certificate.pem’** file (you downloaded it) in a text editor and copy all its content including ‘—–BEGIN CERTIFICATE—–’ and ‘—–END CERTIFICATE—–’. Paste it in the 'Certificate' text area of Plesk.215 1. Similarly, paste all the content of the ** ‘private.pem’** file in the ‘Private key’text area of Plesk.216 1. Then paste all the content of the ** ‘cabundle.pem’** file in the ‘CA certificate’text area of Plesk.217 1. Now click the ‘Upload Certificate’button.213 1. You got a section at the bottom of the page, 'Upload the certificate as text'. Here you have a form to install the SSL certificate. 214 1. Open the **'certificate.pem'** file (you downloaded it) in a text editor and copy all its content, including '—–BEGIN CERTIFICATE—–' and '—–END CERTIFICATE—–'. Paste it in the 'Certificate' text area of Plesk. 215 1. Similarly, paste all the content of the **'private.pem'** file in the 'Private key' text area of Plesk. 216 1. Then paste all the content of the **'cabundle.pem'** file in the 'CA certificate' text area of Plesk. 217 1. Now click the 'Upload Certificate' button. 218 218 1. The uploaded SSL certificate is listed on the next page. 219 219 1. Again, click 'Websites & Domains' in the left menu. 220 220 1. Click the website for which you need an SSL certificate. 221 1. Click the 'Hosting & DNS' tab and clickthe 'Hosting Settings' option.221 1. Click the 'Hosting & DNS' tab and the 'Hosting Settings' option. 222 222 1. On the next page, i.e., the 'Hosting Settings' page, click the 'Certificate' selection field and select the certificate we just uploaded. 223 223 1. Click the 'Apply' button and then click 'OK'. … … 227 227 Now you can access your website with **‘https://’**. 228 228 229 If your web hosting control panel is anything other than cPanel, the options will be differentbut the concept is similar.230 231 **NOTE:** The free SSL certificate issued by Let ’s Encrypt expires in 90 days. They recommend renewing 30 days prior to expiry. So you need to spend time repeating the process of generating and installing an SSL certificate every 60 days.232 233 Click the ‘Re-generate (renew) SSL’button to start renewing.229 The options will differ if your web hosting control panel is anything other than cPanel and Plesk, but the concept is similar. 230 231 **NOTE:** The free SSL certificate issued by Let's Encrypt expires in 90 days. So you need to spend time repeating the process of generating and installing an SSL certificate every 60 days. They recommend renewing 30 days before expiry. 232 233 Click the 'Re-generate (renew) SSL' button to start renewing. 234 234 235 235 However, **the premium version of this plugin generates (issue/renew) and installs the free SSL certificate automatically.** Please check the video tutorial (1:42 min) below and see how easy it is. … … 245 245 After installing the SSL certificate, please perform the following steps: 246 246 247 1. In your WordPress dashboard, navigate to the ‘Auto-Install Free SSL’menu in the sidebar, and click the 'Force HTTPS' menu.248 1. On the next page, click the ‘Activate Force HTTPS’ button. Theclick OK.249 1. You'll be logged out and redirected to the WordPress log -in page. Please log in again.250 1. Now refresh the website's home page. You'll getthe padlock.247 1. In your WordPress dashboard, navigate to the 'Auto-Install Free SSL' menu in the sidebar, and click the 'Force HTTPS' menu. 248 1. On the next page, click the 'Activate Force HTTPS' button. Then click OK. 249 1. You'll be logged out and redirected to the WordPress login page. Please log in again. 250 1. Now refresh the website's home page. You'll see the padlock. 251 251 252 252 … … 255 255 == Frequently Asked Questions == 256 256 257 = How do I install the ‘Auto-Install Free SSL’plugin? =257 = How do I install the 'Auto-Install Free SSL' plugin? = 258 258 259 259 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. 260 260 261 = Does installing the plugin will instantly turn my site HTTPS? = 262 263 After installing this plugin you need to do some steps. Please check the ‘AFTER ACTIVATION’ section in the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. 261 = Does installing the plugin will instantly turn my site into HTTPS? = 262 263 Sorry, it doesn't. Installing the plugin and installing SSL certificates are two different processes. After installing this plugin, you need to do some steps. Please check the 'AFTER ACTIVATION' section in the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. 264 265 However, the Premium plugin installs SSL certificates with complete automation. Please check the video tutorial (1:42 min) at the top of this page and see how easy it is. 264 266 265 267 = My website doesn't accept credit cards. Why do I need an SSL certificate? = 266 268 267 Please check ‘Benefits of installing an SSL certificate on your WordPress website’above.269 Please check the 'Benefits of installing an SSL certificate on your WordPress website' above. 268 270 269 271 = How do I generate a free SSL certificate? = 270 272 273 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. This documentation is for the free version of the plugin. 274 275 If you are interested in the Premium version, please check the video tutorial (1:42 min) at the top of this page. 276 277 = How do I install an SSL certificate on my WordPress website? = 278 271 279 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. 272 280 273 = How do I install an SSL certificate on my WordPress website? = 274 275 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. 276 277 = When I try to generate an SSL certificate, I see a blank page. How can I fix it? = 281 = I see a blank page when I try to generate an SSL certificate. How can I fix it? = 278 282 279 283 Please check the log. It is located in the plugin menu. Most probably, you see an error saying 'unable to register the account' along with the following text in the log: … … 284 288 To fix this, please update this plugin to the latest version and try generating the SSL again. Then you'll get a text field to update the admin email address. 285 289 286 Please contact us through the WordPress support forum if you still faceany issues (with the complete log).287 288 = I have installed an SSL certificate but still don ’t see any PADLOCK in the browser’s address bar. Why? =289 290 Please visit the plugin ’s default page and click the ‘Activate Force HTTPS’button.290 Feel free to contact us through the WordPress support forum if you still need help with any issues (with the complete log). 291 292 = I have installed an SSL certificate but still don't see any PADLOCK in the browser's address bar. Why? = 293 294 Please visit the plugin's 'Force HTTPS' page and click the 'Activate Force HTTPS' button. 291 295 292 296 = How do I deactivate the HTTPS redirect? = 293 297 294 Please click the ‘Revert to HTTP’ button on the plugin’s defaultpage.295 296 Alternatively, open the email that you received after activating the HTTPS redirect (or Force HTTPS), and click the link given there to deactivate HTTPS redirect and revert to HTTP. The subject line of that email is “'Auto-Install Free SSL' has activated Force HTTPS on your website YourDomain.com”. [Replace YourDomain.com with your WordPress website’s domain].297 298 = [Pro] Why do you need my cPanel password (or API Token) when other s Let's Encrypt clients don’t? =299 300 cPanel username and password (or API Token) is required to install the free SSL certificate automatically with the cPanel API. Let's Encrypt SSL's lifetime is 90 days. You need to get and install another SSL certificate before the expiration of the current SSL. If you provide your cPanel username and password (or API Token), this plugin will do this repeated job automatically. All your credentials remain safe in your database. Moreover, 'Auto-Install Free SSL' encrypts the password (or API Token) before saving in your database.301 302 All other Let's Encrypt clients who auto-install free SSL certificate, needs root access, which is a higher privilege than the cPanel user. In shared hosting, the root access belongs to the web hosting company. So those clients will not work on shared hosting.298 Please click the 'Revert to HTTP' button on the plugin's 'Force HTTPS' page. 299 300 Alternatively, open the email you received after activating the HTTPS redirect (or Force HTTPS) and click the link to deactivate HTTPS redirect and revert to HTTP. The subject line of that email is "'Auto-Install Free SSL' has activated Force HTTPS on your website YourDomain.com". [Replace YourDomain.com with your WordPress website's domain]. 301 302 = [Pro] Why do you need my cPanel password (or API Token) when other Let's Encrypt clients don't? = 303 304 All other Let's Encrypt clients who auto-install free SSL certificates need root access, a higher privilege than the cPanel user. In shared hosting, the root access belongs to the web hosting company. So those clients will not work on shared hosting. 305 306 cPanel username and password (or API Token) are required to install the free SSL certificate with the cPanel API automatically. Let's Encrypt SSL's lifetime is 90 days. You need to get and install another SSL certificate before the expiration of the current SSL. If you provide your cPanel username and password (or API Token), this plugin will do this repeated job automatically. All your credentials remain safe in your database. Moreover, 'Auto-Install Free SSL' encrypts the password (or API Token) before saving it in your database. 303 307 304 308 = [Pro] Does this WordPress plugin send the cPanel username and cPanel password (or API Token) to your server or to Let's Encrypt? = 305 309 306 We or Let's Encrypt don't collect any credentials. **This plugin ’s source code is open for audit.** The team WordPress approved it after the audit (when the automation feature was free). Please feel free to audit yourself too.310 We or Let's Encrypt don't collect any credentials. **This plugin's source code is open for audit.** The WordPress team approved it after the audit. Please feel free to audit yourself too. 307 311 308 312 = [Pro] How do I create the cron job for automation? = 309 313 310 You don't need to set the Cron Job manually. It works by default (from version 3.0.0). However, 'Auto-Install Free SSL' has an option to add the cron job with one click from your WordPress dashboard (available for unlimited sites license and it's optional).314 You don't need to set the Cron Job manually. It works by default (from version 3.0.0). However, 'Auto-Install Free SSL' can add an optional cron job with one click from your WordPress dashboard (available for unlimited sites license). 311 315 312 316 = [Pro] I received the confirmation email but didn't receive the cron output by email. Why? = … … 314 318 Since version 3.0.0, You can access the cron output by clicking the 'Log' menu. 315 319 316 If you have an unlimited site license and created a cron job manually, makesure you have provided your email address in the 'Cron Email' section of the Cron Jobs page of cPanel.320 If you have an unlimited site license and created a cron job manually, ensure you have provided your email address in the 'Cron Email' section of the Cron Jobs page of cPanel. 317 321 318 322 … … 321 325 1. Admin Menu of 'Auto-Install Free SSL' 322 326 2. The first step to generating a Free SSL Certificate 323 3. Second step: verify domain by uploading the challenge files324 4. Final step: download the generated SSL files and install on the server327 3. Second step: verify the domain by uploading the challenge files 328 4. Final step: download the generated SSL files and install them on the server 325 329 5. Only step [Pro]: one-click installation of Free SSL Certificate 326 330 6. SSL certificate has been generated and installed with a single click [Pro] 327 7. Information o fthe installed SSL from the browser331 7. Information on the installed SSL from the browser 328 332 8. The SSL will be automatically renewed before expiry [Pro] 329 9. Email confirmation when the plugin automatically renew and install a free SSL certificate [Pro]333 9. Email confirmation when the plugin automatically renews and install a free SSL certificate [Pro] 330 334 10. Activate Force HTTPS and get the padlock with one-click 331 335 11. Automated email with a link to revert to HTTP 332 12. Revert to HTTP option in the plugin's dashboard336 12. Revert to the HTTP option in the plugin's dashboard 333 337 334 338 335 339 == Changelog == 340 341 = 3.3.2 = 342 * Fixed the issue with upgrade URL for the users who used the free premium license but now downgraded to free version. 343 * [Pro] Added cPanel username check to prevent using email id as cPanel username - display an error text if email id found. 336 344 337 345 = 3.3.1 = … … 390 398 391 399 = 3.2.5 = 392 * Updated LET ’S ENCRYPT SUBSCRIBER AGREEMENT.400 * Updated LET'S ENCRYPT SUBSCRIBER AGREEMENT. 393 401 * Fixed an issue with the 'Remind me later' button of display review request admin notice. 394 402 * Added a feature to display SSL renewal reminder with admin notice.
Note: See TracChangeset
for help on using the changeset viewer.