Browsed by
Category: Technical

.NET CryptographicException “Keyset does not exist”

.NET CryptographicException “Keyset does not exist”

Came across this error today when updating a new certificate used in a WCF service for digital signatures. Turns out the solution, as always, was pretty simple: give correct permissions to the private key file. Open the certificate manager and locate the correct certificate. Right click and navigate to: All Tasks -> Manage Private Keys. Change the file permissions so the IIS user can read. Read more on stackoverflow.com.

Uninstall SCCM client

Uninstall SCCM client

I found a neat little tool to remove system center client from your pc. The tool is part of the SMS 2003 toolkit and can be downloaded here: http://www.microsoft.com/en-us/download/details.aspx?id=18153 https://onedrive.live.com/redir?resid=FB4EC4397749CD0%21272 https://mega.nz/#!PTIE1Lra!YKtqOzC2FgZAqQO3CFO1M7DaEJryqm3lC-WpJbeOlSc Just run the tool and click “ok” once it has finsihed. More info and other ways to remove here. Once you run the tool verify you do not have a “Configuration Manger” entry in your “Control Panel > System and Security”. Read more: here.

Migrate from Outlook to Thunderbird

Migrate from Outlook to Thunderbird

How to use Thunderbird instead of Microsoft Outlook with all of the important features that Outlook offers (calendar, address book, …) still available to you. Prerequisites Download thunderbird 45.8.0 @ https://archive.mozilla.org/pub/thunderbird/releases/45.8.0/win32/. Select your preferred language and download the installer. Account settings Add your e-mail account to Thunderbird, this should be pretty straightforward. You can edit the details manually if you have troubles. For the University you can add: imap: mail.uantwerpen.be 993 SSL/TLS with normal password smtp: smtp.uantwerpen.be 25 no encryption…

Read More Read More

CiviCRM: Missing indexes after upgrade

CiviCRM: Missing indexes after upgrade

After upgrading our CiviCRM we got a notification about missing indexes. It turns out (according to stack overflow) it’s pretty easy to solve if you have drush installed. List all missing indexes drush ev ‘civicrm_initialize();print_r(CRM_Core_BAO_SchemaHandler::getMissingIndices())’ (re)Create all drush cvapi System.updateindexes

Boinc on Arch Linux

Boinc on Arch Linux

I’ve already talked about how to install Boinc on Linux Mint, today I wanted to try and get it running on an Arch installation. I’m opting for a headless install and using boinc view to configure the server remotely. A good place to start is the Arch Linux wiki article and my previous post. pacman -S boinc-nox usermod -a -G boinc $(whoami) systemctl start boinc.service Open the “/var/lib/boinc/gui_rpc_auth.cfg” file and make note of the generated password. vim /var/lib/boinc/gui_rpc_auth.cfg Now we need…

Read More Read More

PuTTY known_hosts

PuTTY known_hosts

Where does putty store it’s known_hosts? I asked myself this question today after battling a git extensions bug where you can’t type in the console window and as a result can’t add the host to the known hosts. The answer: HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys To manually add hosts, use plink. plink.exe yourservername Hope it helps you.

RansomFree by cybereason

RansomFree by cybereason

I found a neat little security program to protect against ransom-ware. It’s called RansomFree and is developed by a company called cybereason. Download the application here: https://ransomfree.cybereason.com/. You can view a demo of the application in action on their site. Installation That’s it, it will run in the background monitoring for ransom-ware. You’ll notice some strange files on your root directory. RansomFree needs these to monitor for malware activity. There is an option to disable this if you don’t want those…

Read More Read More

Install Elasticsearch on Ubuntu

Install Elasticsearch on Ubuntu

Elastic search is an opensource NoSQL database that is scalable and lightning fast. It has a number of applications, the two most commonly used are log analysis/management and as a search backend. These are my install notes to get it up and running on an ubuntu/debian machine. Elastic provides a very good installation guide if you want to check that out too. If installing on an Azure machine double check firewall settings and make sure not everyone is allowed to…

Read More Read More

Allow linux users to login using ldap

Allow linux users to login using ldap

To enable LDAP authentication, we need to install the nslcd package. When configured properly this will allow us to add users and have them authenticate via LDAP. Local users will still be able to login using a local password, think of it as a fall through mechanism. apt-get install nslcd The installer will ask you some questions. LDAP URL: usually something like ldap://mycompany.com LDAP root to search in: usually something like: DC=mycompany,DC=com, but you could put a specific container/group if…

Read More Read More

MariaDB/MySQL group by error

MariaDB/MySQL group by error

After we upgraded our MySql/MariaDB installation to 5.7.16 our CiviCRM gave us some “unknown DB errors”. We traced it back to a group by error thrown by MySql. As of version 5.7.5 the default SQL modes includes the ONLY_FULL_GROUP_BY option. To fix this issue you can of course change your code, but if that isn’t an option, you can remove this mode setting. First select your existing modes: mysql> SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE; This will output all enabled modes. Copy both…

Read More Read More