Перейти к содержимому
Yellow Web

Automation and traffic arbitrage

Поиск
Русский
Русский
Категории
  • Browsers
  • Domains
  • Cloaking
  • Creatives
  • Lend-Prockles
  • Sync by honeybunny
  • PP
  • Scripts
  • Tips-Friendly
  • Software
  • Trackers
  • FB
  • Finance

Automatically add https for all domains in Keitaro

Write a comment / Scripts, Trackers

Sooner or later all arbitrageurs have to create SSL-certificates for their domains: someone thinks that this will add traffic to FB, someone thus increases the trust of users, and somewhere (say, in direct sales) it is a direct requirement of IP.

Автоматически добавляем https для всех доменов в Кейтаро, изображение №1

So what are the options for connecting https for your feed to see the coveted lock in the browser bar?

Автоматически добавляем https для всех доменов в Кейтаро, изображение №2

The easiest way is to use CloudFlare: add our domain there and turn on the SSL/TLS tab in Flexible mode.

Автоматически добавляем https для всех доменов в Кейтаро, изображение №3

But it is not always necessary to add each domain in CloudFlare + I would like to somehow once set up an HTTPS connection and forget about it as a bad dream.

Today we are going to deal with tracker Keitaro and write a script that will generate SSL certificates for all domains parked on it.

On its own. tracker does not know how to generate certificates and by default the process looks like this:

  1. Park a domain to tracker and add it on the appropriate tab
  2. Using the terminal, connect to the server where the tracker and run the certificate generation script
  3. After the certificate is issued, check the HTTPS checkbox of the domain
Автоматически добавляем https для всех доменов в Кейтаро, изображение №4

Now let's imagine that we add domains every day and not one or two, but 22... ?

Now we take it, download from here 3 files and save them to a folder on the server with tracker: in /var/www/ssl_cron

Open both php files in any text editor and replace the text there:

{YOUR_DOMAIN} change it to the domain or ip-address we have tracker

{YOUR_API_KEY} change to the API access key Keitaro

Now we need to configure the Cron task scheduler to run a script every minute that will take a random domain WITHOUT https and issue a certificate for it:

  1. Connecting through the terminal to the server
  2. We write crontab -e and get into the editor
  3. Add this line at the end:

*/1 * * * * * * * sudo -u root /var/www/ssl_cron/ssl.sh

That's it! Now for each parked domain in the tracker In a maximum of one minute, the certificate will be issued and the HTTPS checkbox will be enabled.

And with you was the Yellow Web, pour on the plus side, gentlemen! ☝

P.S. If you are still pouring without tracker, it's time to get one!

Навигация по записям
← Previous Post
Next Post →

Write a comment Отменить ответ

Your email address will not be published. Require fields marked as *

  • Useful Links
  • Advertisement
  • VK
  • Telegram
  • YouTube
  • Our shop with proxies, accounts and so on
  • Our Partnership Program
Copyright © 2023 Any copying of information without an active link to the source is prohibited!
Русский
Русский
English