> When the errors: in the template or parameters for xmlsec app? Please, try to remove <CipherValue/> node from the template. I believe it confuses xmlsec and xmlsec tries to read encrypted key from this node :) Aleksey