Spotfire Package builder throws error "ASN1 bad tag value met" while adding license certificate and creating extension.

Spotfire Package builder throws error "ASN1 bad tag value met" while adding license certificate and creating extension

Please find the detailed error below,

Error message: ASN1 bad tag value met.
COMException at :
ASN1 bad tag value met.
 (HRESULT: 8009310B)

Stack Trace:
  at Interop.CAPICOM.SignedCodeClass.Timestamp(String URL)
  at Spotfire.Dxp.Deployment.CabinetFile.Sign(SigningOptions options)
  at Spotfire.Dxp.Deployment.Package.Save(Stream fileStream, Boolean isModified)
  at Spotfire.Dxp.Deployment.Package.Save(String filePath)
  at Spotfire.Dxp.PackageBuilder.MainForm.<>c__DisplayClass4.<SavePackageFile>b__3

(SaveCallbackParameters parameters)
  at Spotfire.Dxp.PackageBuilder.SaveFileHelper.SaveFile(SaveCallback

callback, SaveCallbackParameters parameters, Boolean promptUser)
  at Spotfire.Dxp.PackageBuilder.SaveFileHelper.SaveFileAs(String dialogTitle, String filter, String defaultExtension, String initialDirectory,

String initialFileName, Boolean appendMissingExtension, SaveCallback callback)
  at Spotfire.Dxp.PackageBuilder.MainForm.SavePackageFile()
  at Spotfire.Dxp.PackageBuilder.MainForm.buildPackageFileContextMenuItem_Click

(Object sender, EventArgs e)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,

ToolStripItemEventType met)
  at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,

ToolStripItemEventType met)
  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ToolStrip.WndProc(Message& m)
  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,

IntPtr wparam, IntPtr lparam)

Login