要创建证书,请运行以下命令:
makecert -r -pe -n "CN=effectLabs Server" -b 01/01/2011 -e 01/01/2020 -sky exchange C:\myCerts\ELServer.cer -sv C:\myCerts\ELServer.pvk
Run Code Online (Sandbox Code Playgroud)
命令提示符发生以下错误:
'makecert'不被识别为内部或外部命令,可操作程序或批处理文件.
我在_Layout.cshtml母版页中有两个元标记,现在我想在someone.cshtml视图页面中添加元标记.
我也尝试使用此代码
放入_layout.cshtml母版页 @RenderSection("metatags",false);
放入someone.cshtml就好 @section metatags { <meta ... /> }
但没有成功.
并尝试添加元标记jquery但没有正常工作.
用于创建证书运行此命令
pvk2pfx.exe -pvk C:\ myCerts \ ELServer.pvk -spc C:\ myCerts \ ELServer.cer -pfx C:\ myCerts \ ELServer.pfx
命令提示符中出现以下错误
无法将“ pvk2pfx.exe”识别为内部或外部命令,可运行程序或批处理文件。