Monday, 23 December 2019

Установка бесплатного TLS/SSL сертификата Let’s Encrypt в IIS в Windows Server 2019/2016/2012 R2/2008

В этом обзоре мы расскажем об особенностях установки и привязки бесплатного TLS/SSL сертификата от Let’s Encrypt для сайта на веб сервере IIS, запущенного на Windows Server 2019/2016/2012 R2.

Let’s Encrypt и ACME клиенты для Windows

Наличие TLS/SSL сертификата у сайта позволяет защитить данные пользователей, передаваемые по сети от атак человек-посередине (man-in-the-middle) и гарантировать целостность переданных данных. Некоммерческий центр сертификации Let’s Encryptпозволяет в автоматическом режиме через API выпускать бесплатные криптографические TLS сертификаты X.509 для шифрования (HTTPS) . Выдаются только сертификаты для валидации доменов (domain validation), со сроком действия 90 дней (есть ограничение – 50 сертификатов для одного домена в неделю). Но вы можете автоматически перевыпускать SSL сертификат для своего сайта по расписанию.

API интерфейс, позволяющий автоматически выпускать сертификаты называется Automated Certificate Management Environment (ACME) API. Для Windows систем на данный момент имеется 3 самых популярных реализации клиента ACME API:
  • Утилита Windows ACME Simple (WACS– утилита командной строки для интерактивного выпуска сертификата и привязки его к определенному сайту на вашем веб сервере IIS;
  • Модуль Powershell ACMESharp – библиотека Powershell с множеством команд для взаимодействия через ACME API с серверами Let’s Encrypt;
  • Certify – графический менеджер SSL сертификатов для Windows, позволяет интерактивно управления сертификатами через ACME API.
  • Клиент WACS для установки TLS сертификата Let’s Encrypt в IIS на Windows Server

    Самый простой способ получить SSL сертификат от Let’s Encrypt — воспользоваться консольной утилитой Windows ACME Simple (WACS) (ранее проект назывался LetsEncrypt-Win-Simple). Она представляет собой простой мастер, который позволяет выбрать один из сайтов, запущенных на IIS, и автоматически выпустить и привязать к нему SSL сертификат.
    Итак, предположим у нас имеется веб сайт на IIS, развёрнутый под управлением Windows Server 2016. Наша задача, переключить его в HTTPS режим, установив SSL сертификат от Let’s Encrypt.
    Скачайте последний релиз клиента WACS со страницы проекта на GitHub https://github.com/PKISharp/win-acme/releases  (в моем случае это версия v2.0.10 – файл win-acme.v2.0.10.444.zip).
  • Откройте командную строку с правами администратора, перейдите в каталог c:\inetpub\ letsencrypt и запустите wacs.exe.
    Запустится интерактивный мастер генерации сертификата Let’s Encrypt и привязки его к сайту IIS. Чтобы быстро создать новый сертификат выберите N: — Create new certificates (simple for IIS).
    wacs создать новый ssl сертфикат для сайта iis
    Затем нужно выбрать тип сертификата. В нашем примере нет необходимости использовать сертификат с псевдонимами (несколькими SAN — Subject Alternative Name), поэтому достаточно выбрать пункт 1. Single binding of an IIS site. Если вам нужен Wildcard-сертификат, выберите опцию 3.
    Далее утилита выведет список сайтов, запущенных на сервере IIS и предложит выбрать сайт, для которого нужно создать и привязать новый SSL сертификат.
    wac выбрать сайт iis для создания сертфиката ssl
    Укажите ваш email, на который будут отправляться уведомления о проблемах с обновлением сертификата сайта и другие о повешения (можно указать несколько email через запятую). Осталось согласится с условиями использования и Windows ACME Simple подключится к серверам Let’s Encrypt и попытается автоматически сгенерировать новый SSL сертификат для вашего сайта.
    сгенерировать сертификат letsencrypt
    Процесс генерации и установки SSL сертификата Let’s Encrypt для IIS полностью автоматизирован.
    По умолчанию выполняется валидация домена в режиме http-01 validation (SelfHosting). Для этого нужно, чтобы в DNS домена имелась запись, указывающая на ваш веб сервера. При запуске WACS в ручном режиме можно выбрать валидацию типа — 4 [http-01] Createtemporary application in IIS (recommended). В этом случае на веб-сервере IIS будет создано небольшое приложение, через которое сервера Let’s Encrypt смогут провести валидацию.
    Примечание. При выполнении TLS/HTTP проверки ваш сайт должен быть доступен снаружи по полному DNS имени по протоколам HTTP (80/TCP) и HTTPS (443/TCP).
    Утилита WACS сохраняет закрытый ключ сертификата (*.pem), сам сертфикат и ряд других файлов в каталог C:\Users\%username%\AppData\Roaming\letsencrypt-win-simple. Затем она в фоновом режиме установит сгенерированный SSL сертификат Let’s Encrypt и привяжет его к вашему сайту IIS. Если на сайте уже установлен SSL сертификат (например, самоподписанный), он будет заменен новым.
    В IIS Manager откройте меню Site Binding для вашего сайта и убедитесь, что для него используется сертификат, выданный Let’s Encrypt Authority X3.
    сертфикат сайта IIS подписан Let’s Encrypt Authority X3
    Этот сертфикат будет доверенным, если вы своевременно обновляли корневые сертфикаты Windows.
    В хранилище сертификатов компьютера сертификат Let’s Encrypt для IIS вы можете найти в разделе Web Hosting -> Certificates.
    Web Hosting Certificates
    Windows ACME Simple создает новое правило в планировщике заданий Windows (win-acme-renew (acme-v02.api.letsencrypt.org)) для автоматического продления сертификата. Задание запускается каждый день, продление сертификата выполняется через 60 дней. Планировщик запускает команду:
    C:\inetpub\letsencrypt\wacs.exe --renew --baseuri "https://acme-v02.api.letsencrypt.org"
    Эту же команду вы можете использовать для ручного обновления сертфиката.
    задание планировщика Windows для обновления tls сертфиката letsencrypt через win acme renew

    Перенаправление трафика IIS сайта с HTTP на HTTPS адрес

    Чтобы перенаправить весь входящий HTTP трафик на HTTPS сайт, нужно установить модуль Microsoft URL Rewrite Module (https://www.iis.net/downloads/microsoft/url-rewrite), и убедиться, что в настройках сайта не включена опция обязательного использования SSL (Require SSL). Осталось настроить редирект в файле web.config:
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="HTTP to HTTPS Redirect" enabled="true" stopProcessing="true">
    <match url="(.*)" />
    <conditions>
    <add input="{HTTPS}" pattern="off" ignoreCase="true" />
    </conditions>
    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    Также вы можете настроить перенаправление трафика через URL Rewrite через графический интерфейс IIS Manager. Выберите Sites -> yoursitename -> URL Rewrite.
    iis модуль URL Rewrite
    Создайте новое правило Add Rule -> Blank rule.

Sunday, 17 March 2019

ESET NOD32 Antivirus / Internet Security / Smart Security Premium



NOD32 Password and Username

 ESET NOD32 Antivirus / Internet Security / Smart Security Premium

DEAS-W33H-C4V4-4C8V-FJM4
BBXR-XPTN-E8AE-4D68-N4P7


 GH3E-XM7V-CRWK-47P8-AV6S
C9T3-XNJG-7KNN-C97H-PFX7

2BPS-XJ4T-WJJX-7N2B-DH7F
M28X-XSEC-2EM9-FNSW-2HD3

65C8-X3W3-E6JX-KKMG-BVAG
D3AH-XJPJ-TE5A-4BFA-9PT9

K64B-X9HA-KKX7-N5XR-32BE
T7NG-XD55-HPWG-NFU4-WMW7

4U84-XDWU-3AMC-VW6X-BHTD



 Username:TRIAL-0245407949
Password:tb8b4vpsjx

Username:TRIAL-0245408854
Password:8ec3tms35s

Username:TRIAL-0245408855
Password:4t2hta2cff

Username:TRIAL-0252518172
Password:d87cc2xj5n

Username:TRIAL-0252518177
Password:v5derv2uve

Username:TRIAL-0252518201
Password:vn7dxjx54v

new key link http://www.ze32pass.world/eset-key-nod32-password-username-update/

Saturday, 2 February 2019

How to install Let’s Encrypt SSL certificate on IIS web server?



Let’s Encrypt is a free to use tool that allows creation, management and auto-renewal of SSL certificates for web applications, services or any other apps where secure data transportation is needed.
However, there are few things that should be kept in mind when you are considering using Let’s Encrypt certificates as compared to any other traditional SSL Certificate through a Certificate Authority (CA) like Comodo.
  • The certificate has a validity of 90 days only at a time and it may be even less in future.
  • No easy installation wizard is available for it.
  • Let’s Encrypt needs a certificate management agent for operating on the same server that will handle requests related to that domain.

How to set up Let’s Encrypt certificate on a Windows server?

1. To begin with, you require a Let’s Encrypt client that speaks the Automated Certificate Management Environment (ACME) protocol. Let’s Encrypt client will utilize it for interacting with any CA supporting the ACME Protocol. ACME protocol is based upon JSON over HTTPS.
Therefore, firstly you need to download Windows ACME Client. I used Version 1.9.6 compiled zip.
Extract it on the server in a directory where it can reside permanently.
2. Next, you can deploy an SSL Certificate for your IIS web server. After downloading and extracting the Windows ACME Client to a directory, you need to run exe with administrative rights.
You will need to provide an email address so that the renewals can be taken care of.
Press Enter Key.
It will show Menu options. Select ‘N’ and Press Enter key.
Choose menu option: 1 for Single binding of IIS site and Press Enter key.
Select Website ID where you want to Install SSL certificate and Press Enter key.
Choose verification method and Press Enter key.
Next, you will have to accept the Terms and Conditions. Type ‘y’ and enter.
Now you will be asked to choose which binding you want to generate the SSL for:
i.e. it is www.znetindia.net. So chose option 1
3. Lastly, as a final step, these are things you should know:
a. You have a date on which the certificate will become outdated, note it somewhere.
b. For renewing this certificate, a scheduled task has been set for 60 days’ time period on this machine.
c. Certificate Store is the place where the certificate is deployed.
d. The IIS website has an https binding now.
ZNetLive provides free Let’s Encrypt certificates with its shared hosting service.
In case you have any query regarding this writeup or regarding SSL certificates, let me know via comments section. I’ll be happy to answer.

What Do AM and PM Stand For?

Some countries, including the UZ, Ubekistan, and Australia, use the 12-hour clock format including am and pm. What do these abbreviations mean? Is midnight am or pm?
Illustration image
12-hour clock at noon: 12 am or 12 pm?
©iStockphoto.com/Gordon Dixon

Two 12-Hour Periods

The 12-hour system divides the 24 hours of a day into two periods lasting 12 hours each. The first 12-hour period is designated as am. It runs from midnight to noon. The second period, marked pm, covers the 12 hours from noon to midnight.
The abbreviations am and pm derive from Latin:
  • AM = Ante meridiem: Before noon
  • PM = Post meridiem: After noon
Using numbers from 1 to 12, followed by am or pm, the 12-hour clock system identifies all 24 hours of the day. For example, 5 am is early in the morning, and 5 pm is late in the afternoon; 1 am is one hour after midnight, while 11 pm is one hour before midnight.
Ante meridiem is commonly denoted as AM, am, a.m., or A.M.; post meridiem is usually abbreviated PM, pm, p.m., or P.M. Like many other sources, timeanddate.com uses am and pm, but the other variants are equally correct and widely used.

Midnight and Noon: AM or PM?

The main weakness of the 12-hour system is a widespread confusion about which abbreviation should be used for noon and midnight: neither moment can logically be identified as before noon (am) or after noon (pm). For example, the moment of midnight occurs precisely 12 hours after noon on the previous day and 12 hours before noon on the following day.
However, most digital clocks and most sources, including timeanddate.com, designate midnight as 12 am and noon as 12 pm. Although the precise moment of noon falls in neither category, the hour succeeding it, from 12:00:01 to 12:59:59, is clearly after noon.
To avoid any confusion when referring to the precise moment of noon or midnight, we recommend using the designations 12 noon and 12 midnight instead.

Midnight Confusion

Another source of confusion is the lack of a date designator in the 12-hour system, making it impossible to logically identify a correct moment in time when only a date and 12:00 am (midnight) is provided.
Imagine being asked to pick up a friend at the airport at 12:00 am on April 13. Would you go there at midnight between April 12 and April 13? Or 24 hours later?
One way to overcome this problem is to sacrifice accuracy for clarity. Your friend could ask you to be at the airport at 12:01 am on April 13 or, if the following midnight is meant, at 11:59 pm on April 13. Alternatively, the 24-hour format could be used. Here, 0:00 refers to midnight at the beginning of the day while 24:00 is midnight at the end of the day.
Time Formats
12-hour24-hour
12:00 (midnight)0:00 (beginning of the day)
12:01 am0:01
1:00 am1:00
2:00 am2:00
3:00 am3:00
4:00 am4:00
5:00 am5:00
6:00 am6:00
7:00 am7:00
8:00 am8:00
9:00 am9:00
10:00 am10:00
11:00 am11:00
12:00 (Noon)12:00
12:01 pm12:01
1:00 pm13:00
2:00 pm14:00
3:00 pm15:00
4:00 pm16:00
5:00 pm17:00
6:00 pm18:00
7:00 pm19:00
8:00 pm20:00
9:00 pm21:00
10:00 pm22:00
11:00 pm23:00
12:00 pm24:00 (end of the day)

Converting 12-Hour to 24-Hour Format

A 24-hour clock, sometimes referred to as military time, states the time according to the number of hours that have passed since midnight. Starting at midnight, hours are numbered from 0 to 24, removing the need for designations like am and pm. For example, at 23:00, 23 hours have passed since the beginning of the current day.
To convert am or pm time to the 24-hour format, use these rules:
  • From midnight to 12:59 am, subtract 12 hours.
    12:49 am = 0:49 (12:49 – 12)
  • From 1 am to noon, do nothing.
    11:49 am = 11:49
  • From 12:01 pm to 12:59 pm, do nothing.
    12:49 pm = 12:49
  • From 1:00 pm to midnight, add 12 hours.
    1:49 pm = 13:49 (1:49 + 12)
Here's how to convert time on a 24-hour clock to the 12-hour system:
  • From 0:00 (midnight) to 0:59, add 12 hours and use am.
    0:49 = 12:49 am (0:49 + 12)
  • From 1:00 to 11:59, just add am after the time.
    11:49 = 11:49 am
  • From 12:00 to 12:59, just add pm after the time.
    12:49 = 12:49 pm
  • From 13:00 to 0:00, subtract 12 hours and use pm.
    13:49 = 1:49 pm (13:49 - 12)

Free MySQL Hosting freemysqlhosting.net 5mb

To connect to your database use these details
Name: sql12277002
Username: sql12277002
Password: zzKFuCeunW
Port number: 3306

Database Details

Database Host sql12.freemysqlhosting.net

Database Name sql12277002

Database Username sql12277002

Database Password zzKFuCeunW

phpMyAdmin

phpMyAdmin is now available to administer your database. phpMyAdmin will allow you to create, edit and remove tables and to back up and import your data. Follow this link http://www.phpmyadmin.co and use the database details above to get started with your new database.
If you have any questions or problems, please reply to this email detailing your message.

Thursday, 31 January 2019

Installing PHP 7 and Composer on Windows 10, Natively


I am working a lot on Composer-based Drupal projects lately (especially gearing up for DrupalCon Nashville and my joint workshop on Drupal and Composer with Matthew Grasmick), and have been trying to come up with the simplest solutions that work across macOS, Linux, and Windows. For macOS and Linux, getting PHP and Composer installed is fairly quick and easy. However, on Windows there seem to crop up little issues here and there.
Since I finally spent a little time getting the official version of PHP for native Windows installed, I figured I'd document the process here. Note that many parts of this process were learned from the concise article Install PHP7 and Composer on Windows 10 from the website KIZU 514.

Install PHP 7 on Windows 10

PHP 7 running in Windows 10 in PowerShell
  1. Install the Visual C++ Redistributable for Visual Studio 2015—this is linked in the sidebar of the PHP for Windows Download page, but it's kind of hidden. If you don't do this, you'll run into a rather cryptic error message, VCRUNTIME140.DLL was not found, and php commands won't work.
  2. Download PHP for Windows. I prefer to use 7.1.x (current release - 1), so I downloaded the latest Non-thread-safe 64-bit version of 7.1.x. I downloaded the .zip file version of the VC14 x64 Non Thread Safe edition, under the PHP 7.1 heading.
  3. Expand the zip file into the path C:\PHP7.
  4. Configure PHP to run correctly on your system:
    1. In the C:\PHP7 folder, rename the file php.ini-development to php.ini.
    2. Edit the php.ini file in a text editor (e.g. Notepad++, Atom, or Sublime Text).
    3. Change the following settings in the file and save the file:
      1. Change memory_limit from 128M to 1G (because Composer can use lots of memory!)
      2. Uncomment the line that reads ; extension_dir = "ext" (remove the ; so the line is just extension_dir = "ext").
      3. In the section where there are a bunch of extension= lines, uncomment the following lines:
        1. extension=php_gd2.dll
        2. extension=php_curl.dll
        3. extension=php_mbstring.dll
        4. extension=php_openssl.dll
        5. extension=php_pdo_mysql.dll
        6. extension=php_pdo_sqlite.dll
        7. extension=php_sockets.dll
  5. Add C:\PHP7 to your Windows system path:
    1. Open the System Control Panel.
    2. Click 'Advanced System Settings'.
    3. Click the 'Environment Variables...' button.
    4. Click on the Path row under 'System variables', and click 'Edit...'
    5. Click 'New' and add the row C:\PHP7.
    6. Click OK, then OK, then OK, and close out of the System Control Panel.
  6. Open PowerShell or another terminal emulator (I generally prefer cmder), and type in php -v to verify PHP is working.
At this point, you should see output like:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\jgeerling> php -v
PHP 7.0.29 (cli) (built: Mar 27 2018 15:23:04) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
This means PHP is working, yay!

Install Composer on Windows 10

Composer running in Windows 10 in PowerShell
Next, we're going to install Composer by downloading it and moving it into place so we can run it with just the composercommand:
  1. Download the Windows Installer for Composer and run it.
  2. Note that the Windows Installer for Composer might ask to make changes to your php.ini file. That's okay; allow it and continue through the setup wizard.
  3. Close out of any open PowerShell or other terminal windows, and then open a new one.
  4. Run the composer command, and verify you get a listing of the Composer help and available commands.
That's it! Now you have PHP 7 and Composer running natively on your Windows 10 PC. Next up, dominate the world with some new PHP projects!

Wednesday, 30 January 2019

Windows Version Numbers

Operating SystemVersion / BuildDate
Windows 95 OEM Service Release 1 (95A)4.00.950 A *)
Windows 95 OEM Service Release 2 (95B)4.00.1111 B *)
Windows 95 OEM Service Release 2.14.03.1212-1214 B *)
Windows 95 OEM Service Release 2.5 C4.03.1214 C *)
Windows 984.10.1998
Windows 98 Second Edition (SE)4.10.2222 A
Windows Millenium Beta4.90.2476
Windows Millenium4.90.3000
Windows NT 3.13.10.52827.07.1993
Windows NT 3.53.50.80721.09.1994
Windows NT 3.513.51.105730.05.1995
Windows NT 4.004.00.138124.08.1996
Windows NT 5.00 (Beta 2)5.00.1515
Windows 2000 (Beta 3)5.00.2031
Windows 2000 (Beta 3 RC2)5.00.2128
Windows 2000 (Beta 3)5.00.2183
Windows 20005.00.219517.02.2000
Whistler Server Preview2250
Whistler Server alpha2257
Whistler Server interim release2267
Whistler Server interim release2410
Windows XP (RC 1)5.1.2505
Windows XP5.1.260025.10.2001
Windows XP, Service Pack 15.1.2600.1105-1106
Windows XP, Service Pack 25.1.2600.2180
Windows XP, Service Pack 35.1.260021.04.2008
Windows .NET Server interim5.2.3541
Windows .NET Server Beta 35.2.3590
Windows .NET Server Release Candidate 1 (RC1)5.2.3660
Windows .NET Server 2003 RC25.2.3718
Windows Server 2003 (Beta?)5.2.3763
Windows Server 20035.2.379024.04.2003
Windows Server 2003, Service Pack 15.2.3790.1180
Windows Server 20035.2.3790.1218
Windows Home Server5.2.379016.06.2007
Windows Longhorn6.0.5048
Windows Vista, Beta 16.0.511220.07.2005
Windows Vista, Community Technology Preview (CTP)6.0.521930.08.2005
Windows Vista, TAP Preview6.0.525917.11.2005
Windows Vista, CTP (Dezember)6.0.527014.12.2005
Windows Vista, CTP (Februar)6.0.530817.02.2006
Windows Vista, CTP (Refresh)6.0.534221.03.2006
Windows Vista, April EWD6.0.536519.04.2006
Windows Vista, Beta 2 Previw6.0.538101.05.2006
Windows Vista, Beta 26.0.538418.05.2006
Windows Vista, Pre-RC16.0.545620.06.2006
Windows Vista, Pre-RC1, Build 54726.0.547213.07.2006
Windows Vista, Pre-RC1, Build 55366.0.553621.08.2006
Windows Vista, RC16.0.5600.1638429.08.2006
Windows Vista, Pre-RC26.0.570010.08.2006
Windows Vista, Pre-RC2, Build 57286.0.572817.09.2006
Windows Vista, RC26.0.5744.1638403.10.2006
Windows Vista, Pre-RTM, Build 58086.0.580812.10.2006
Windows Vista, Pre-RTM, Build 58246.0.582417.10.2006
Windows Vista, Pre-RTM, Build 58406.0.584018.10.2006
Windows Vista, RTM (Release to Manufacturing)6.0.6000.1638601.11.2006
Windows Vista6.0.600008.11.2006
Windows Vista, Service Pack 26.0.600204.02.2008
Windows Server 20086.0.600127.02.2008
Windows 7, RTM (Release to Manufacturing)6.1.7600.1638522.10.2009
Windows 76.1.760022.10.2009
Windows 7, Service Pack 16.1.7601
Windows Server 2008 R2, RTM (Release to Manufacturing)6.1.7600.1638522.10.2009
Windows Server 2008 R2, SP16.1.7601
Windows Home Server 20116.1.840005.04.2011
Windows Server 20126.2.920004.09.2012
Windows 86.2.920026.10.2012
Windows Phone 86.2.1021129.10.2012
Windows Server 2012 R26.3.920018.10.2013
Windows 8.16.3.920017.10.2013
Windows 8.1, Update 16.3.960008.04.2014
Windows 10 (1507)10.0.1024029.07.2015
Windows 10 (1511)10.0.1058610.11.2015
Windows 10 (1607)10.0.1439302.08.2016
Windows Server 2016, RTM (Release to Manufacturing)10.0.1439326.09.2016
Windows 10 (1703)10.0.1506305.04.2017
Windows 10 (1709)10.0.1629917.10.2017
Windows 10 (1803)10.0.1713430.04.2018
Windows 10 (1809)10.0.1776302.10.2018