会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
dudu
服务好开发者,一切随之而来
博客园
首页
新随笔
联系
订阅
管理
2018年9月
消除 ASP.NET Core 告警 "No XML encryptor configured. Key may be persisted to storage in unencrypted form"
摘要: 在 ASP.NET Core 中如果在 DataProtection 中使用了 PersistKeysToFileSystem 或 PersistKeysToFileSystem,会在日志中出现告警,这是由于 DataProtection 所用到的密钥本身没有被加密存储,要消除这个告警,需要一个专门用来加密“密钥”的密钥,首先用 openssl 命令创建密钥,得到 cnblogs.pfx 文件
阅读全文
posted @ 2018-09-05 16:05 dudu
阅读(8295)
评论(4)
推荐(2)
编辑
公告