Tuesday, September 27
Shadow

Author: Boredadmin

Let’s Encrypt SSL Certificate for IIS.

Let’s Encrypt SSL Certificate for IIS.

Windows
How to install let's encrypt free SSL certificate on windows IIS? Security in information technology is a big concern today. Especially, where the end-users are using the application or website (username, password or personal data, etc.. ) need to be encrypted to meet the data protection requirements. IIS is one of the most used web servers to host such applications and websites. Creating the websites in windows server IIS is easy (HTTP or HTTPS). In this article, we will install let's encrypt free SSL certificate on IIS. In the first step, Make sure that the site is publicly reachable. In the second step, Check and verify the IIS binding in the windows IIS manager. For the start, we will assign self-signed or system-generated certificates in the binding. Now,...
How to redirect HTTP requests to HTTPS in IIS?

How to redirect HTTP requests to HTTPS in IIS?

Windows
How to redirect HTTP requests to HTTPS in IIS? Security in information technology is a big concern today. Especially, where the end-users are using the application or website (username, password or personal data, etc.. ) need to be encrypted to meet the data protection requirements. IIS is one of the most used web servers to host such applications and websites. Creating the websites in windows server IIS is easy (HTTP or HTTPS). But, to redirect to HTTPS even users enter the HTTP address is a little bit tricky. This post is a step-by-step guide to redirect HTTP requests to HTTPS automatically or forcefully in windows server IIS. Download the URL Rewrite module or extension from the link below and install.https://www.iis.net/downloads/microsoft/url-rewrite Open the Internet inf...
Assign Let’s Encrypt Certificate to Asterisk (Core) SIP TLS.

Assign Let’s Encrypt Certificate to Asterisk (Core) SIP TLS.

Linux
How to Install let's encrypt certificate on asterisk (core) and assign to the SIP TLS? Asterisk is an open-source communication tool kit. We can build voice, video, and text applications with it. Asterisk supports several standard VoIP (voice-over IP) protocols, including the SIP (Session Initiation Protocol), MGCP (Media Gateway Control Protocol), and H. 323. It supports most SIP telephones, acting both as registrar and back-to-back user agents. Let's Encrypt is a free SSL certificate provider. We can use this certificate for the SIP TLS encryption in the asterisk. We need to install certbot in the system. RHEL or CentOS # yum install epel-release# yum install certbot python2-certbot-apache mod_ssl Ubuntu # add-apt-repository ppa:certbot/certbot# apt get-update# apt-ge...
SharePoint Pre-requisites Download Error.

SharePoint Pre-requisites Download Error.

Windows
Pre-requisites Download Error in SharePoint. While installing the SharePoint you may have encountered the error that, the SharePoint pre-requisites installer tool was unable to download the components. Because the Windows Server OS is configured to block the download application or any other components from the internet by default. The blocking feature is called IE enhanced security. To fix this issue, Open the server manager, you can access the server manager via typing the server manager in the search windows in the server. Select local server in the left panel. Find the IE enhanced security and check them off on both profiles administrators, and users. If the profile is ON position, you won't be able to download the required components of the SharePoint using the pre-requisites t...
Application server role, Web server (IIS) Role Configuration Error.

Application server role, Web server (IIS) Role Configuration Error.

Windows
How to fix application server role, web server (IIS) configuration error in SharePoint? You may have been encountered the application server role, web server (IIS) configuration error, and unable to download the components while installing the SharePoint. The exact error is "The tool was unable to install application server role, web server (IIS) role". This error occurred when you try to install SharePoint 2013 on windows server 2012 or a later version. To fix this issue, you need to follow few steps or prepare OS before starting the installation of SharePoint. First step, turn off the IE enhanced security configuration. Open the server manager, you can access the server manager via typing the server manager in the search windows in the server. Select local server in the le...
How to resize the root partition in centos?

How to resize the root partition in centos?

Linux
How to resize or extend the root partition in centos? All the Linux file systems are stored in the root partition. Sometimes we feel the provided storage is enough for the system but eventually, we need more storage at the root. So, In this post, I will share the steps to resize or extend the root partition. This method is also applied to RHEL. When we extend the storage in the system. We need to find out that how much free storage we have left. # parted(parted) print free There is a 10.7GB free space/storage. we will add this free storage to the root partition. Press q to exit. Next step, we need to run fdisk tool or command to manage disk or volumes. Run fdisk /dev/sda to access the disk management. press p to print or show the details of the disk. In the p...
Join a CentOS to Active Directory domain using LDAP.

Join a CentOS to Active Directory domain using LDAP.

Linux
How to configure windows active directory LDAP in CentOS? In most organizations or company's, users and groups are created and managed on the Windows Active Directory Domain controller. In short form Active Directory. What if we have some Linux servers and client's systems and need to authenticate using windows credentials? In this post, we will discuss integrating the Linux (centos) system or machine with windows AD and log in to those systems with AD credentials using LDAP protocol. 1- Prepare the Linux System In CentOS, the default system name is localhost.localdomain. Change it to something meaningful. Ex. centos7. #hostnamectl set-hostname centos7or#nano /etc/hostname Make sure that, the active directory is reachable. Ping the domain name and response from AD must b...
OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. Part 2.

OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. Part 2.

Network, Windows
OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. Part 2. OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. Part 1. 3- Configure Internal CA (Certificate Authority) in OPNSense, and Issue or create the certificate. In this step, we will create the Internal CA (Certificate Authority) and create the certificate for the VPN server and clients.Login to the OPNSense with respective credentials. Select System. Under the system, select the Trust and Authorities. And click on the ADD button on the right side of the page. Provide the Descriptive name for the internal CA. Method must be Create an internal Certificate Authority. You can leave the default setting for the Key Type, Length, and Algorit...
OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP.

OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP.

Network, Windows
OPNSense OpenVPN configuration and authenticate the AD (Active Directory) users using LDAP. OPNSense is a free, open-source, powerful, easy to use, and easy to build firewall and routing system based on the HardenedBSD platform. On the other hand, OpenVPN is also a free and powerful VPN application. It provides flexible VPN solutions for businesses to secure all data communications and extend private network services while maintaining security. The configuration is divided into 5 sections1- Configure user accounts and groups in the activate directory. And Install and configure the AD LDS for the LDAP connections.2- Create and configure the LDAP connection in the OPNSense.3- Configure Internal CA (Certificate Authority) in OPNSense, and Issue or create the certificate.4- Configure th...
cPanel HTTP to HTTPS auto redirect

cPanel HTTP to HTTPS auto redirect

General
How to Redirect HTTP to HTTPS in cPanel? cPanel is the most popular and used web hosting service in the world. By default, it provides the HTTP protocol for the hosted website. Even you installed the SSL certificate for the web site. while browsing it will browse the non-secure or HTTP. For the secure or HTTPS, you need to enter https:// example.com manually in the browser. But there are ways to redirect HTTP requests to the HTTPS request automatically. As shows image above, you can enter the domain name with an HTTPS address for automatic redirection. Select the type of redirection, permanent (301) or temporary (302). In the second option select the single domain or main domain and subdomains if any. And, in the last table enter your domain name. Now you are done. But sometim...