×

Warning

JUser: :_load: Unable to load user with ID: 43

JUser: :_load: Unable to load user with ID: 40

HTTPS Certificates

cert01

These are instructions on how to create and set up trustworthy certificates (https) for your ISPadmin installation and the Client portal. From the information in the address bar, you can find out whether the website in question is secured or not. Different browsers inform users of this fact in different ways. For example: If https appears in front of the URL/IP address of ISPadmin, then the website is secured. If https is crossed out, it is unsecured.

The latest version of ISPadmin incorporates a utility called certificate.pl that uses the Let´s Encrypt certificate authority to issue certificates.

Before you launch this utility, you need to have at your disposal the DNS records for the administration interface of ISPadmin (e.g. ispadmin.yourcompany.com) and for the Client portal (e.g. portal.yourcompany.com), and also enable ports 80 and 443 in SettingsSyst. settingsSecurity , Global line > HTTP 80/443 = icon check ok.

You can launch the utility with this command:

/usr/local/script/ispadmin/certificate.pl

 

cert01

 

When the script asks you to enter the DNS records for the administration interface of ISPadmin and for the Client portal, do so. Confirm your entries by Enter.

 

cert03

 

Check whether the listed IP addresses correspond to the IP address of the server. Any discrepancies would lead to an error during the creation of a given certificate. If there are indeed discrepancies, the DNS records in question must be fixed (choose the no option in the script - n) and launch the script again.

 

cert04

 

If the DNS records contain the correct IP address, certificates will be generated correctly. At this point, the script asks you whether you want to install the created certificates on the apache server. If you have made no changes to the configuration of the apache server (your own configuration), confirm by entering y . If you want to (for whatever reason) copy the certificates to the server manually, you can see in front of you the 3 locations where the individual parts are to be found. Enter n and set the certificates up manually in /etc/apache2/httpd.conf.

 

cert05

 

If you entered y, the installation of certificates was done automatically. The system also carried out the backup of the apache configuration and the restart of the apache server.

Now the certificates are valid and you can see https in the browser. Certificates are automatically renewed every 3 months.

 

cert06

 

If an error occurs during the creation of certificates, proceed as follows:

 

1. Back up the /etc/apache2/httpd.conf file.

 

cp /etc/apache2/httpd.conf /etc/apache2/httpd.conf.backup

 

2. Modify the file according to the code below. Enter the correct addresses for the administration interface and for the Client portal in the respective ServerName lines.

 

options FollowSymLinks

## ISP Admin
<VirtualHost *:80>
  ServerName admin.domain.xy
  DocumentRoot "/data/support/ispadmin/"
  AddDefaultCharset UTF-8
  <Directory /data/support/ispadmin/>
    Options ExecCGI
    AllowOverride All
  </Directory>
  CustomLog /var/log/apache2/access_support_ispadmin.log combined
  AddType application/x-httpd-php .php .php3 .php4
  php_admin_value open_basedir "/data/support/:/tmp/:/data/:/usr/local/script/ispadmin/:/data/backup/"
  php_admin_value include_path ".:/usr/local/lib/php/:/tmp/:/data/support/:/usr/local/script/ispadmin/"
  php_admin_value disable_functions  "openlog, exec, passthru, proc_open, proc_close, shell_exec"
  php_admin_value display_errors "On"
  php_admin_value safe_mode "Off
  php_admin_value safe_mode_exec_dir "/usr/local/script/ispadmin/"
  php_admin_value safe_mode_allowed_env_vars none
  php_admin_value safe_mode_include_dir ".:/usr/local/lib/php/:/tmp/:/data/support/:/usr/local/script/ispadmin/"
  php_admin_value register_globals "On"
  php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f This email address is being protected from spambots. You need JavaScript enabled to view it."
</VirtualHost>

## ISP Admin support
<VirtualHost *:80>
  ServerName clientportal.domain.xy
  DocumentRoot "/data/support/ispadmin/new/www/clientinterface/"
  AddDefaultCharset UTF-8
  <Directory /data/support/ispadmin/new/www/clientinterface/>
    Options ExecCGI
    AllowOverride All
  </Directory>
  CustomLog /var/log/apache2/access_support_ispadmin_support.log combined
  AddType application/x-httpd-php .php .php3 .php4
  php_admin_value open_basedir "/data/support/ispadmin/:/tmp/:/usr/local/script/ispadmin/"
  php_admin_value include_path ".:/usr/local/lib/php/"
  php_admin_value disable_functions  "openlog, exec, passthru, proc_open, proc_close, shell_exec"
  php_admin_value display_errors "On"
  php_admin_value safe_mode "Off"
  php_admin_value register_globals "On"
</VirtualHost>

 

If the following error occurs

 

Server error 500


it will be necessary to modify the configuration file /etc/php5/apache2/php.ini (see the picture below) and then restart apache (service apache2 restart).

 

session

 

System back-ups

ISPadmin has an automatic data back-up functionality. It is possible to store...

MySQL database

Restart of MySQL service /etc/init.d/mysqld restart Recovery of database...

ISPadmin update

Switch to new system version using the following command from command line (logi...

Postfix mail server

By default, the SMTP server is configured in the way that it is only possible...

System Variables

System variables are used for replacing items such as client's name, address,...

System migration

The information contained in this manual pertains to the migration of ISPadmin ...

Emails cannot be sent because of their size

Check and modify the settings of the following parameters: upload_max_f...

Ramdisk and RRD backup-data restoration

More on RAM disk here (index.php?option=com_content view=article id=508:4-11-bet...

HTTPS Certificates

These are instructions on how to create and set up trustworthy certificates (h...

Crashed table repair

these instructions (index.php?option=com_content view=article id=1284:system-bac...

Moving graphs to RAMDISK

The main usage load for disks, on which the system is installed on, is the gener...

Forgotten root password

You can try two ways: First procedure 1. Insert installation DVD of ISPa...

Text editors

Nano text editor is always used in this documentation. If you don&rsquo;t...

Linux update

For reasons of compatibility and availability of future versions of ISPadmin,...

ISPadmin serving as SMTP server

By default, the SMTP server is configured in the way that it is only possible to...

Cache-only DNS server

Caching-only is ready after installation of ISPadmin. It is sufficient to use IP...

Technical support status cannot be verified

If technical support cannot be verified, most likely it is due to DNS malfunc...

Administration of running processes

We recommend using htop program for easier monitoring of running process inst...

Timezone settings

"Europe/Prague” timezone is set by default. To change it, do the following:...

IPv6

ISPadmin does not currently support IPv6, it only supports IPv4. It is, of cours...

Configuration / update of IP Address

A) Temporary setting of IP address (until next Linux restart).Just add the fo...

High CPU load of ISPadmin server

Run htop command from the Linux console to determine the problems. With this ...

ISPadmin operation behind NAT

If you have your ISPadmin located on private network and wish to access it from ...

Manual update

If the Error 404: Not Found message appears during an update, it will be necessa...

Inner/outer address on ISPadmin server

The system is typically connected to the network by one network card only. Both ...

Running service check

If you need to find out if a certain process is running use the following comman...

Error "Allowed memory size of ... bytes exhausted ..."

Fatal error: Allowed memory size of ... bytes exhausted (tried to allocate ... b...

What is the directory structure in /usr/local/script/ispadmin/rrd_data?

headend ipaccount modem routers snmp switches user_devices wifi

«
»

CONTACT

NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic