IIS导入.pfx证书时报错:"A specified logon session does not exist. It may already have been terminated."

在IIS中能够直接导入.pfx文件来给站点绑定https协议:windows

若是在导入.pfx文件时,不选择"Allow this certificate to be exported"的话安全

那么在绑定IIS站点为https协议时,会报错:"A specified logon session does not exist. It may already have been terminated."session

可是若是选择"Allow this certificate to be exported",会产生很大的安全问题,有可能网站绑定的SSL证书会被恶意导出。网站

 

解决的办法是在windows中运行certlm.msc指令,使用certlm来导入.pfx证书文件,而不是在IIS中直接导入this

在certlm的左边树状菜单中,选择Personal->Certificates,而后鼠标右击Certificates节点,进而继续选择All Tasks->Import,而后导入.pfx证书文件3d

 

这样在绑定IIS站点为https协议时,就能够直接在SSL certificate中选择在certlm中导入的.pfx证书了,并且绑定时也不会报错了blog

 

 

参考文献:ci

IIS 7 Error “A specified logon session does not exist. It may already have been terminated.” when using httpsget

相关文章
相关标签/搜索