Attempting to solve problems with the key.der by passing it as a byte[] array instead of as a java String