added debug logging to cryptoConfiguration creation