and your solution is working for IP 2013,
I use this link to create a certificate for years to expired.
http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/07/11/how-to-create-a-digital-certificate-and-publish-a-signed-template-to-the-dbxl-admin-tool.aspx
really appreciate your help!!