How To Create SSL Certificate for Apache on CentOS 7

Apache HTTP ServerAn SSL certificate is an electronic ‘document’ that is used to bind together a public security key and a website’s identity information (such as name, location, etc.) by means of a digital signature. The ‘document’ is issued by a certificate provider such as GlobalSign, Verisign, GoDaddy, Comodo, Thawte, and others.

In this article I will show how to generate self-signed certificate for Apache on CentOS. Please note that self-signed certificate does encrypt communication between your server and any clients. However, because it is not signed by any of the trusted certificate authorities included with web browsers, it’s not trusted by browsers by default and can’t be used to verify the identity of your server.

Continue reading

Redirect HTTP to HTTPS in Apache

Apache HTTP ServerLet’s say you want all traffic to your website use secured connection. You can redirect HTTP to HTTPS in Apache like following:

Using virtual hosts and Redirect directive

When using SSL, you will frequently have at least two virtual hosts: one on port 80 to serve ordinary requests, and one on port 443 to serve SSL. If you wish to redirect users from the non-secure site to the SSL site, you can use an ordinary Redirect directive inside the non-secure VirtualHost: Continue reading

SQL SSRS change certificate binding error

SSL-binding-already-exists
While deploying SQL Reporting Services I got the following error:
Create certificate binding.
We were unable to create the certificate binding.

Continue reading

A2billing Install Guide

a2billing-call-flow-inbounda2billing-callflow-outboundThis guide will show you how to install A2Billing v2.2 on CentOS v7. It is assumed that you already have Asterisk and/or Freepbx installed (if not – install it first using this guide). It is also assumed that you have compiled Asterisk Realtime driver module (res_config_mysql) by selecting it in Asterisk Menuselect before compiling Asterisk. Continue reading

Asterisk Freepbx Install Guide

This guide covers Asterisk installation from source on CentOS 7. Freepbx 13 with Asterisk 13 will be installed on CentOS 7.
You have to do the installation as root user or with sudo. Continue reading

Asterisk packages installation on CentOS 7

Asterisk PBX

Officially now Asterisk packages repository is gone. Asterisk installation manual gone as well.

If you use Asterisk on CentOS or RHEL, you want to be using RPM packages, not messing around with building source tarballs on each of the machines you maintain. I use Asterisk on CentOS, both on CentOS 6 and more recently on CentOS 7 working with quite a few systems that it’s important to keep consistent. Luckily there is a Tucny repo with Asterisk packages for CentOS 7 Continue reading

Spamlists monitoring in Zabbix

Zabbix-monitoring-systemMost companies have a wide variety of services running, usually with public and private facing interfaces. If you are providing services like SMTP, DNS or similar to your customers, those services might be misused and you could end up getting your servers IP addresses blacklisted on various Domain Name System Blackhole Lists (DNSBL). This could hurt your reputation as a service provider and will certainly result in a bad experience for your customers.
You can check DNSBL manually but it’s better to do with Zabbix! Continue reading

Apache Display Active Connections

Apache HTTP ServerTo see active connections and performance of Apache server Status module can be used. A HTML page will be presented that gives the current server statistics in an easily readable form. If required this page can be made to automatically refresh (given a compatible browser). Another page gives a simple machine-readable list of the current server state.

The details given are:

  • The number of worker serving requests
  • The number of idle worker
  • The status of each worker, the number of requests that worker has performed and the total number of bytes served by the worker (*)
  • A total number of accesses and byte count served (*)
  • The time the server was started/restarted and the time it has been running for
  • Averages giving the number of requests per second, the number of bytes served per second and the average number of bytes per request (*)
  • The current percentage CPU used by each worker and in total by Apache (*)
  • The current hosts and requests being processed (*)

Continue reading

Nginx Display Active Connections

How to watch nginx server status and connections requests per second under Linux or Unix like operating systems? For such a task nginx server has a module called HttpStubStatusModule. This module provides the ability to get some status from nginx. You will get the following information:

  • Number of all open connections.
  • Stats about accepted connections.
  • Connections per second and so on.

Continue reading

Outlook does not show Tasks

Outlook-does-not-show-items-in-tasks-paneWhen Outlook Tasks pane is shown to the right of the daily Calendar (and under 2 small monthly calendars), the entry row for New Tasks does not appear and no Tasks appear. The only thing showing is two columns on the left (leftmost shows sheet of paper with folded over corner, next column shows clickable squares. On the right is the scroll bar. When I enter a new task (from the template for new tasks), it does not appear in the pane. When I look at all Tasks, they are all there–unfinished, finished and new.

Also the Tasks in Outlook Tasks pane can be shown as XX Kb with no details as on the screenshot above. Continue reading

Load more