首页 > 其他分享 >本地SSL证书过期 输入命令在IIS自动生成

本地SSL证书过期 输入命令在IIS自动生成

时间:2024-05-15 09:09:11浏览次数:20  
标签:zhiyong prompt IIS certificate 过期 SSL HTTPS win10 Users

C:\Users\win10-zhiyong>dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
Successfully trusted the existing HTTPS certificate.

C:\Users\win10-zhiyong>dotnet dev-certs https
A valid HTTPS certificate is already present.

C:\Users\win10-zhiyong>dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
Successfully trusted the existing HTTPS certificate.

C:\Users\win10-zhiyong>dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
Successfully trusted the existing HTTPS certificate.

C:\Users\win10-zhiyong>dotnet dev-certs https
A valid HTTPS certificate is already present.

C:\Users\win10-zhiyong>dotnet dev-certs https
A valid HTTPS certificate is already present.

C:\Users\win10-zhiyong>dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
Successfully trusted the existing HTTPS certificate.

C:\Users\win10-zhiyong>dotnet dev-certs https --clean
Cleaning HTTPS development certificates from the machine. A prompt might get displayed to confirm the removal of some of the certificates.
HTTPS development certificates successfully removed from the machine.

C:\Users\win10-zhiyong>dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
Successfully created and trusted a new HTTPS certificate.

C:\Users\win10-zhiyong>dotnet dev-certs https --clean
Cleaning HTTPS development certificates from the machine. A prompt might get displayed to confirm the removal of some of the certificates.
There was an error trying to clean HTTPS development certificates on this machine.
操作已被用户取消。

C:\Users\win10-zhiyong>mmc

C:\Users\win10-zhiyong>
C:\Users\win10-zhiyong>mmc

C:\Users\win10-zhiyong>mmc

C:\Users\win10-zhiyong>cd C:\Program Files\IIS Express

C:\Program Files\IIS Express>IisExpressAdminCmd.exe setupSslUrl -url: https://localhost:44329 -UseSelfSigned
命令“setupSslUrl”已完成。

标签:zhiyong,prompt,IIS,certificate,过期,SSL,HTTPS,win10,Users
From: https://www.cnblogs.com/shangdishijiao/p/18192672

相关文章

  • 微信云托管使用腾讯自家免费提供50张额度的SSL证书,稳得一批
    因为之前的免费证书小程序打包后就提示证书无效,只能在模拟器才能用,然后有个功能就一直没上,刚才无意间想着谷歌搜索一下看有没有能用的免费证书: 嘿,您猜怎么着,还真有,还是腾讯自家的,这不妥了吗。遂申请使用,审核一下就通过了,很快,然后我就在微信云托管换上了新证书,嘿,就不报错了,这......
  • [转帖]IIS 403错误详细原因
    https://www.cnblogs.com/wang_yb/archive/2010/05/10/1732093.html 在使用IIS的时候,如果遇到403相关的错误,往往束手无策,不知道是什么权限的原因。现总结如下,供以后参考。 403.1-执行访问被禁止下面是导致此错误信息的两个常见原因:1、您没有足够的执行许可例如,如......
  • 宝塔:续签SSL证书报错error_result: During secondary validation
    宝塔上的SSL证书有时候忘了到期前续签,导致续签时候报错:error_result:Duringsecondaryvalidation:或者 该帐户1小时内失败的订单次数超过5次,请等待1小时再重试! 点击SSL当前证书,续签证书处理,是无效的。因此要换种方式: 解决方法如下:1.点击SSL选项框内的“证书夹”选项,删......
  • OpenSSL测试-SM4
    任务详情:0.在openEuler(推荐)或Ubuntu或Windows(不推荐)中完成下面任务,参考别人代码要给出链接,使用AI工具要给出过程,否则成绩归零。1.使用OpenSSL的命令对你的8位学号(字符串)进行加密解密,密钥的前8个字节为你的8位学号,提交过程截图(5')2.使用OpenSSL编程对对"你的8位学号(数字)"进......
  • OpenSSL测试-HMAC
    任务详情:0参考别人代码要给出链接,使用AI工具要给出过程,否则成绩归零1在openEuler(推荐)或Ubuntu中,使用OpenSSL命令行工具,对消息“你的学号(数字)重复10遍”使用HMAC-SM3进行验证。密钥为随机数,自己生成。提交命令行操作过程截图和结果。(5分)2使用C语言和OpenSSL库,在openEuler或......
  • Openssl 设置 双向认证证书的过程
    Openssl设置双向认证证书的过程openssl的安装安装openssl大部分操作系统都会带openssl只是版本略有不同.因为不带openssl连基本的openssh可能都没法用.安装方法yuminstallopenssl-y查看版本:opensslversionOpenSSL1.1.1kFIPS25Mar2021OpenEuler2203......
  • 3-4SSL
    3.4SSL配置SSL虚拟主机编译时添加选项--with-http_ssl_module #nginx开启ssl--with-openssl=xxx   #指定openssl路径,一般是新安装的路径生成私钥与证书cd/usr/local/nginx/conf         //默认放在此路径下,也可以放到别的路径opensslgenrsa>cert.......
  • JVM类加载器ClassLoader源码剖析
    在JVM类加载器分类中通过ClassLoader获取了不同类型的类加载器,它是如此之重要那么ClassLoader究竟为何物呢?通过源码分析(以jdk17示例):调试跟踪ClassLoader:......
  • linux环境静态编译openssl、curl
    编译opensslopenssl下载地址:https://www.openssl.org/source/index.htmltarzxvfopenssl-3.3.0.tar.gzcdopenssl-3.3.0/./config-fPICno-shared--prefix=/root/openssl_install--openssldir=/root/openssl_installmakemakeinstall编译curlcurl下载地址:https:/......
  • 使用win-acme在windows+iis服务器下配置自动续期SSL证书【转】
    发现阿里云免费证书只有3个月有效期了,手动操作太麻烦,咨询阿里云客服,阿里云说这是大势所趋,遂转向其他云,后来发现百度云还有1年的免费证书,继续问阿里云客服,其他友商都还在免费1年的,为啥阿里云免费的只有3个月,阿里云客服说,只能说阿里云走在了前面。曾经阿里云给我的印象是价格便宜,稳......