Reset your Skype for Business Conferencing ID and PIN

skype-for-business

There are three pieces of information used for establishing a dial-in Skype for Business conference:

Conference Dial-in Numbers – used by the conference attendees.
Conference ID – used by the conference attendees; each conference organizer has their own ID.
Skype for Business Conferencing PIN – used by the conference organizer.

Since Skype for Business Phone users have 3 PINs in total (Phone PIN, Voice Mail PIN, Conferencing PIN), you may wish to reset them so they all use the same 6 digits. Continue reading

Could not find target log during relay log initialization

mysql-logo-imageWhile a setting up MariaDB slave I ran in the following issue:
180118 14:14:11 [ERROR] Failed to open the relay log './-relay-bin'
(relay_log_pos 7654336)
071118 16:44:10 [ERROR] Could not find target log during relay log initialization
071118 16:44:10 [ERROR] Failed to initialize the master info structure

Continue reading

How to Install PHP 7 in CentOS 7

The CentOS 7 official software repositories have PHP 5.4 that is reached end of life and no longer actively maintained by the developers.

Thus you need a newer PHP 7 on your CentOS server.

The commands below will help you install PHP 7 on CentOS. All of them are executed as root account or with sudo

Continue reading

Unable to set php_value soap.wsdl_cache_dir

I php-fpm access.log we can see the following:

[18-Jan-2018 15:03:38] WARNING: [pool www] child 2148 said into stderr: “ERROR: Unable to set php_value ‘soap.wsdl_cache_dir'”

By default this parameter looks like the following:

php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache Continue reading

Apache HTTPOnly and Secure Cookie

Apache HTTP ServerHaving HTTPOnly and Secure in HTTP response header can help to protect your web applications from cross-site scripting and session manipulation attacks. Here is how to configure HTTPOnly Secure Cookie Attribute in Apache. Continue reading

Nginx HTTPOnly and Secure Cookie

Having HTTPOnly and Secure in HTTP response header can help to protect your web applications from cross-site scripting and session manipulation attacks. There are two ways to configure HTTPOnly Secure Cookie Attribute in Nginx. Continue reading

The target principal name is incorrect. Cannot generate SSPI context.

It is a good practice to use a domain or service account to run the SQL service.

However, once you do the right thing and change the SQL Service account, you may start getting the following error message when attempting to connect to the sql server:

“The target principal name is incorrect.  Cannot generate SSPI context.” Continue reading

Apache SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For Apache error message is:
[Tue Jan 23 12:51:37 2017] [error] Unable to configure RSA server private key
[Tue Jan 23 12:51:37 2017] [error] SSL Library Error: 185073780 error:0B080074:
x509 certificate routines:X509_check_private_key:key values mismatch

Continue reading

nginx SSL error key values mismatch

The error

nginx SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

can happen for a chain of certificates merged in one .crt file. The reason is that nginx tries to apply a private key to the first certificate in a crt file. nginx needs that the first certificate in a .crt file would be a server certificate. Thus the correct order in a .crt file will be the following: Continue reading

Fail2ban installation and configuration on CentOS

Fail2banIn this article I’ll describe how to protect Asterisk from hacking attempts with Fail2ban in CentOS Linux. Fail2Ban is a standard Linux tool used to scan log files and then block IP’s found in those log files using iptables. Fail2ban depends completely on the application (in this case Asterisk) to detect any intrusion/failure and log the user data, upon which fail2ban can then act. Fail2ban does not provide any type of intrusion detection, hack detection, etc., it depends completely on Asterisk to do that.

Continue reading

Load more