Tag: Sitecore

I’ve noticed that many people have many issues with set up of SSL for SOLR instance. In this blog post you will find everything what you need to know to do this. Just follow all steps which you will find below.

After form submission you should see new service on the list of services (Windows > Run > Services) . If your service is not running – just run it from services windows – it will start automatically after restart.
We have chosen port 662 so our SOLR instance currently will be available under url http://localhost:662/solr/

Import certificate to the trusted certificates
Opem “Windows > Run > mmc” and manage certificates. Import created certificate to the list of trusted ones.

Change SOLR settings
In final step you need to change yours configuration for SOLR. Open SOLR server directory

C:\solr\solr-6.6.2\bin

and open to edit of solr.in.cmd file. Then add at the end following settings:

set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_KEY_STORE_PASSWORD=secret
set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_TRUST_STORE_PASSWORD=secret
REM Require clients to authenticate
set SOLR_SSL_NEED_CLIENT_AUTH=false
REM Enable clients to authenticate (but not require)
set SOLR_SSL_WANT_CLIENT_AUTH=false

Test
To test if it works you need to restart yours SOLR service. After restart SOLR will not longer work with http protocol – so you need to go into “https://localhost:662/solr” to check how your SSL works.

And now you are ready to install Sitecore 9 and xConnect. Have a good fun with it!

From time to time, especially when you are setting up new Sitecore environment on local machine or server you probably have some dependencies issues.

My favorite one is error with dependency of ChilkatDotNet. Why it is my favorite? Because even when you have all Sitecore files on place and installed all modern versions of .Net Framework this library still can brake Sitecore application (You can find ChilkatDotNet library inside Sitecore Email Experience Manager).

In the internet you will find some solutions related to Sitecore environments:

http://labs.steveottenad.com/sitecore-damn-you-chilkat/

http://www.letsdositecore.com/chilkatdotnet2-dll-in-sitecore-6-5/

But the problem is – they are all about x32 vs x64 bit architecture and used version of chilkatdotnet library – they were not helpful for me.

Enable assembly bind failure logging

I had started to find a way to extend logs to know more about the problem and I found some articles about additional logging mechanisms for assemblies. I decided to enable that in my registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
Add:
DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
DWORD EnableLog set value to 1
String LogPath set value to folder for logs (e.g. C:\FusionLog\)

Unfortunately it did not help for me – I did not find there anything significant (but in general I think that it is worth to know that settings).

You will find more about this here: https://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net

Old tool for modern work

After checking everything again I had started search of new solutions for my issue and I found one – Dependency Walker.

On website http://www.dependencywalker.com/ you will find simple tool which can check details about dll dependencies and display all errors/warnings.

It might looks like this:

As a result of “opening dll” you will see all broken dependencies. You just have to take the name of missing dll file and check from which library it is to add it to the system or directory.

In my case it was missing “Microsoft Visual C++ 2012 Redistributable” – yes, quite old version – I would not ever install this without Dependency Walker.

Few weeks ago I had an opportunity to take a look into Sitecore Data Exchange Framework. At first glance it was looking very cool and still it is but I have realized that one thing there is missing. In this post I will provide you something what will help you understand how it works.

If you do not know for what we can do with Sitecore Data Exchange Framework, following definition from documentation should tell you everything:

Data Exchange Framework is designed to facilitate the transfer of data between two systems.

In documentation you will find very well described parts of the framework but it can be hard to “connect the dots” right away. That is why I have prepared diagrams – because image is worth a thousands words.