Saturday, November 27
Shadow

Author: Boredadmin

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...
How to fix the Exchange management shell and Exchange toolbox unable to open or load.

How to fix the Exchange management shell and Exchange toolbox unable to open or load.

Windows
How to fix the Exchange management shell and Exchange toolbox unable to open or load? Exchange server is the email server including contacts, schedule, calendar features developed by Microsoft. It can be deployed on the Windows server OS. Exchange Server gives users access to the messaging platform from mobile devices, desktops, and browsers. If we have an issue with Exchange .edb file or user mailbox, we need to run some PowerShell commands to fix the issue. let's start the topic, I had some issue while mounting the mailbox in exchange server 2019. To fix that issue I had to run some PowerShell commands. But it can not load the remote exchange ps1 command module. Because the system has disabled the run this script.The exact message was, remote exchange ps1 can ...
SSRS (SQL server reporting service) Integration with SharePoint 2019. Part 3.

SSRS (SQL server reporting service) Integration with SharePoint 2019. Part 3.

Windows
SSRS (SQL Server Reporting Service) integration on SharePoint 2019.Part 3 SharePoint 2019 SSRS Integration Part 1SharePoint 2019 SSRS Integration Part 2 In the previous section, we have installed and configured the SSRS (SQL server reporting service) for SharePoint 2019. In this section, we will deploy the Microsoft report viewer web part as a farm solution. Import the generated reports to the SharePoint site from the SSRS server. You can download the report viewer web part from here. In the first step, we need to deploy the report viewer web part as a farm solution in SharePoint 2019. Run SharePoint management shell as administrator and with this PowerShell command. Add-SPSolution LiteralPath "PathOfYourSolution/ReportViewerWebPart.wsp" After the P...