0

0

【玩转Lighthouse】手把手教你轻量服务器Windows系统IIS下自动申请、续签SSL证书

雪夜

雪夜

发布时间:2025-11-26 15:52:03

|

233人浏览过

|

来源于php中文网

原创

{\"type\":\"doc\",\"content\":[{\"type\":\"heading\",\"attrs\":{\"id\":\"af648994-0882-45f4-b408-f60ba71d649b\",\"textalign\":\"inherit\",\"indent\":0,\"level\":1,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"前言:\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"07931d64-52aa-4c06-82ab-872729770ba1\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"轻量应用服务器(tencent cloud lighthouse)是新一代开箱即用、面向轻量应用场景的云服务器产品,特别适合中小企业和开发者。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"48833549-f41b-48af-a0d0-0ca24461da21\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"现在无论是网站建设还是小程序开发等都需要https,ssl证书有都过期的限制,商业证书一般一年,免费证书一般是90天,如果没有及时续期ssl证书,那么将会影响线上程序正常运行。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"c08e5381-0243-4c7d-bc74-70d174717ec2\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"在linux下面,有宝塔、1panel等工具,在部署网站的时候,可以自动申请和续签let's encrypt的ssl证书。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a62e8ce4-f2da-4010-96da-a5455c2cca72\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"而由于本人是.net的开发者,虽然在linux下面部署应用也方便,但由于目前大部分应用还是在windows服务器上部署,所以,也需要找到一种可以在windows下自动申请、续签ssl证书的办法。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b0c83bb5-bb2c-4d6e-819c-864a76cd72e3\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"经过研究,win-acme,这款工具非常适合,可以做到自动申请,并安装配置到iis。并简单的添加一个任务即可自动续签,非常推荐大家使用。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"cb7f73c9-92d0-4f72-8f85-b017bccf113a\",\"textalign\":\"inherit\",\"indent\":0,\"level\":1,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"一、win-acme 项目地址和下载\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b78e23eb-e25a-4c74-af05-e2a9030cd58c\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"link\",\"attrs\":{\"href\":\"https://github.com/win-acme/win-acme\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer nofollow\",\"class\":null}}],\"text\":\"https://github.com/win-acme/win-acme\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"7bbe475f-b170-47d7-9d9b-458386369add\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"截至本稿,最新版是 2.2.9.1,我们到这下载页面,\"},{\"type\":\"text\",\"marks\":[{\"type\":\"link\",\"attrs\":{\"href\":\"https://github.com/win-acme/win-acme/releases\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer nofollow\",\"class\":null}}],\"text\":\"https://github.com/win-acme/win-acme/releases\"},{\"type\":\"text\",\"text\":\" ,推荐下载 win-acme.v2.2.9.1701.x64.pluggable.zip 这个版本。自带运行时,不需要安装.net 运行时。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"b031a10c-6862-4c97-b84f-27f371a5d54a\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/9aff73b4a9c7804f58f2284fd73680d2.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1044,\"aspectratio\":\"2.473934\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"heading\",\"attrs\":{\"id\":\"0edabd37-7ad7-43aa-b48e-57552700a21c\",\"textalign\":\"inherit\",\"indent\":0,\"level\":1,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"二、申请证书和部署证书\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"eff8daef-e3d4-4877-951c-94b748bcd0b8\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"将下载软件解压到轻量服务器一个位置,例如我解压到这个位置:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"20015dbb-98a7-40e2-aff5-2899a2995ae1\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/8e379f83afcaafd11bab2cb3062a9abb.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":648,\"aspectratio\":\"1.596059\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"6cf094b6-36db-44c0-9e12-1afc6a2a30af\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"双击打开 \"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"wacs.exe\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"7b0e9a87-bd9c-415e-aecf-cefa33d31f2a\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/94e85ec04256a87a369d7615fc116f9f.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":977,\"aspectratio\":\"1.915686\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"f580a6e1-19e8-40a9-af6c-317b5ee4d56d\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"选择\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"n\"},{\"type\":\"text\",\"text\":\"。使用默认设置进行申请证书,这时候他会自动识别并列出iis的所有站点,这里我只有一个站点绑定域名,就显示如下:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"e10c75a8-0968-49b9-b048-acafeb4afcf1\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/8bfd25a761d29ebac802a0e95eb267db.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1100,\"aspectratio\":\"2.705882\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"0006dd2e-7de4-4a78-b4c0-434bc2d3cfd7\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false}},{\"type\":\"image\",\"attrs\":{\"id\":\"72aefcb3-0092-4588-9b41-517b3b5cf102\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/c9c2d06eb12d52717d4a3e3d174fa3d2.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":978,\"aspectratio\":\"1.906433\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"5d8beeae-913f-4dd2-8b92-8fcee1107dbb\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"跟着选2这个站点。注意,这里是需要有绑定域名的iis站点,没有绑定域名的,他不会列出来。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"d9e7c230-b633-4bed-ae43-bbf961887c09\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/cd30a34c464f2beda439fb07c635ced8.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":980,\"aspectratio\":\"1.910331\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"53db90e6-2224-42d3-8b05-ec598b9eacf6\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"接下来,就会提示你是哪个站点,然后就是查看协议和同意协议。然后让你输入邮箱。最后他就自动去验证、下载证书和部署,这个过程全自动。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"944c7472-efc3-479b-a49e-c9dfb6ec2729\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/722c668bba83286c26e09a7c0bc17899.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":974,\"aspectratio\":\"1.909804\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"1f2ddba6-a7f2-44e0-a94b-af399c02e545\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"这样就自动帮你部署好了。也有证书过期时间,我们可以回到iis刷新一下站点,就可以看到他已经自动帮你加上证书了:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"1c59dadf-0feb-4842-adfa-88ce29f0a82d\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/5503601153aba9022a90dddf0ff7f7cc.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1100,\"aspectratio\":\"1.901333\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"heading\",\"attrs\":{\"id\":\"7d7e935c-1c7f-4416-9513-92f6fa9aae22\",\"textalign\":\"inherit\",\"indent\":0,\"level\":1,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"三、自动续签\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"62fdb93b-bb56-4887-9445-7d0e6d637765\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"如果iis上有多个站点,或者一个站点绑定多个域名,可以按照以上步骤进行申请并绑定。当我们把所有需要的站点都申请好ssl证书后,我们可以进行添加一个定时任务,让程序自动更新证书。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"0565b34b-7f97-4946-b5c1-45f2fb863364\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"这里我们使用一个脚本来做定时任务,这样有个好处,就是可以测试能不能正常的运行\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"10de49ce-9dc0-40a2-9979-b106423b5cf9\",\"textalign\":\"inherit\",\"indent\":0,\"level\":2,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"3.1、创建一个\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"renew_cert.bat\"},{\"type\":\"text\",\"text\":\" 文件,内如如下,程序路径,请根据实际情况填写。\"}]},{\"type\":\"codeblock\",\"attrs\":{\"id\":\"92107531-4e72-4bb6-8fa7-cf98d43bc61c\",\"language\":\"javascript\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"ishoverdraghandle\":false,\"key\":\"fiugv\",\"languagebyai\":\"javascript\"},\"content\":[{\"type\":\"text\",\"text\":\"chcp 65001\@echo off\rem =============================================\rem 自动续签 win-acme https 证书脚本\rem =============================================\\rem 设置当前路径\cd /d c:\\soft\\win-acme\rem 执行自动更新命令(静默模式)\wacs.exe --renew\rem =============================================\echo [%date% %time%] 证书自动更新任务已执行完毕。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"c9470691-c7ec-42e7-ab29-8084237e5bf4\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/4bead97798e58e74d40d456175a2c71b.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1100,\"aspectratio\":\"1.754277\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"heading\",\"attrs\":{\"id\":\"a568e1b7-d830-4769-b509-2face1a57ff5\",\"textalign\":\"inherit\",\"indent\":0,\"level\":2,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"3.2、测试脚本是否正常\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8511c2ac-e177-458b-9985-75e0ebdf8603\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"然后我们先用cmd运行一下:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"4da8f6ae-d8ad-42bb-a130-d37e3faa1fa0\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/147e7bc2106428e037750951fc3301c9.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":981,\"aspectratio\":\"1.923529\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"31317a3c-49f4-47af-86f4-768ef287e8ff\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"可以看到自动运行成功,那就说明这个脚本文件可以用。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"67f1651a-68c1-4953-a36a-30532a5bf32d\",\"textalign\":\"inherit\",\"indent\":0,\"level\":2,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"3.3、添加定时任务自动执行\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b06f1694-67bd-401c-8056-92caa0ad644e\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"按 \"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"win + r\"},{\"type\":\"text\",\"text\":\" 键打开“运行”对话框,然后输入 \"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"taskschd.msc\"},{\"type\":\"text\",\"text\":\" 并按回车键,这将打开“任务计划程序”窗口。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"39d499e1-91a4-4456-ba07-e46b1478ac34\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/af45b6fcdf640e08dce802433b76d935.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1100,\"aspectratio\":\"1.728863\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"7e9f7294-a389-45ae-a2b6-195d4f684ab3\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"点击\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"创建任务\"},{\"type\":\"text\",\"text\":\" ,添加一个任务,名称输入,勾选 \"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"不管用户是否登录都要运行\"},{\"type\":\"text\",\"text\":\",\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"使用最高权限运行\"},{\"type\":\"text\",\"text\":\" 。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"88d25209-6291-482f-a48b-299cdac315ea\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/cbf49727b4aa1feb6853a85f943bf0e1.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":633,\"aspectratio\":\"1.161468\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"e0178510-16d6-4e64-b0ec-a665dce7e20e\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"切换到触发器,新建触发器:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"c9e55e01-f4a2-4537-b123-dd4086a4f5ac\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/1cedf869326df82a75ff0d5575a00320.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":590,\"aspectratio\":\"1.128107\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"15f6029a-27a8-44b5-8c6d-e92007c1fc14\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"这里我选择每天都执行,选择一个系统比较空闲的时间,半夜三更最适合干这种事。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"e9b953c0-26b0-4657-99e5-3022664c2ed3\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"切换到\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"操作\"},{\"type\":\"text\",\"text\":\",\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"新建操作\"},{\"type\":\"text\",\"text\":\",选择启动程序,浏览选择该脚本\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"6a484d8a-9403-4e4e-9294-568e04835da9\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/9e967ce2d3684cc0b3cb89644cab26ef.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":632,\"aspectratio\":\"1.174721\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"image\",\"attrs\":{\"id\":\"1f5a80c1-7edb-46eb-9be2-07546d10c270\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/048e30f07e104d2b55be25afabd4f8dc.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":461,\"aspectratio\":\"0.907480\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"ff64a566-3abe-4683-82b5-3798c63fbff5\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"最后确定后,就可以看到新建定时任务成功:\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"3ba53852-78ad-4cc9-a71c-adf239a8dff3\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-1261681/888f1ff9383d07ed0ecf21c3fa872b4a.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showalt\":false,\"href\":\"\",\"boxshadow\":\"\",\"width\":1100,\"aspectratio\":\"1.730713\",\"status\":\"success\",\"showtext\":true,\"ispercentage\":false,\"percentage\":0,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a8011463-1da9-40f4-b4c9-16e4c1a58f20\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"至此。也就完成ssl证书的申请并自动续签。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"b48dae9b-d5fa-4c23-a7b0-985b81a385d0\",\"textalign\":\"inherit\",\"indent\":0,\"level\":1,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"总结:\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"514914ca-c79d-46eb-a1b5-115b722a91dc\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"使用 \"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"win-acme\"},{\"type\":\"text\",\"text\":\" 对windows server的站点进行自动申请和使用自动任务进行续签,可以极大方便windows用户。而且这个过程也几乎都是通过ui交互界面进行配置,对用户的操作要求不高。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"f3042847-996a-4236-881f-96620fd43134\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"这就对使用windows的轻量用户来说,可以简单方便的使用iis进行站点部署,也省去三个月需要重新申请并部署证书的繁琐操作。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"87689ff4-f93b-400c-a808-35bfb71a99c3\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"c3f237fd-8cc6-45e2-b249-4913068a2b14\",\"textalign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"ishoverdraghandle\":false}}]}

稿定AI绘图
稿定AI绘图

稿定推出的AI绘画工具

下载

相关专题

更多
js获取数组长度的方法
js获取数组长度的方法

在js中,可以利用array对象的length属性来获取数组长度,该属性可设置或返回数组中元素的数目,只需要使用“array.length”语句即可返回表示数组对象的元素个数的数值,也就是长度值。php中文网还提供JavaScript数组的相关下载、相关课程等内容,供大家免费下载使用。

552

2023.06.20

js刷新当前页面
js刷新当前页面

js刷新当前页面的方法:1、reload方法,该方法强迫浏览器刷新当前页面,语法为“location.reload([bForceGet]) ”;2、replace方法,该方法通过指定URL替换当前缓存在历史里(客户端)的项目,因此当使用replace方法之后,不能通过“前进”和“后退”来访问已经被替换的URL,语法为“location.replace(URL) ”。php中文网为大家带来了js刷新当前页面的相关知识、以及相关文章等内容

374

2023.07.04

js四舍五入
js四舍五入

js四舍五入的方法:1、tofixed方法,可把 Number 四舍五入为指定小数位数的数字;2、round() 方法,可把一个数字舍入为最接近的整数。php中文网为大家带来了js四舍五入的相关知识、以及相关文章等内容

730

2023.07.04

js删除节点的方法
js删除节点的方法

js删除节点的方法有:1、removeChild()方法,用于从父节点中移除指定的子节点,它需要两个参数,第一个参数是要删除的子节点,第二个参数是父节点;2、parentNode.removeChild()方法,可以直接通过父节点调用来删除子节点;3、remove()方法,可以直接删除节点,而无需指定父节点;4、innerHTML属性,用于删除节点的内容。

475

2023.09.01

JavaScript转义字符
JavaScript转义字符

JavaScript中的转义字符是反斜杠和引号,可以在字符串中表示特殊字符或改变字符的含义。本专题为大家提供转义字符相关的文章、下载、课程内容,供大家免费下载体验。

394

2023.09.04

js生成随机数的方法
js生成随机数的方法

js生成随机数的方法有:1、使用random函数生成0-1之间的随机数;2、使用random函数和特定范围来生成随机整数;3、使用random函数和round函数生成0-99之间的随机整数;4、使用random函数和其他函数生成更复杂的随机数;5、使用random函数和其他函数生成范围内的随机小数;6、使用random函数和其他函数生成范围内的随机整数或小数。

990

2023.09.04

如何启用JavaScript
如何启用JavaScript

JavaScript启用方法有内联脚本、内部脚本、外部脚本和异步加载。详细介绍:1、内联脚本是将JavaScript代码直接嵌入到HTML标签中;2、内部脚本是将JavaScript代码放置在HTML文件的`<script>`标签中;3、外部脚本是将JavaScript代码放置在一个独立的文件;4、外部脚本是将JavaScript代码放置在一个独立的文件。

656

2023.09.12

Js中Symbol类详解
Js中Symbol类详解

javascript中的Symbol数据类型是一种基本数据类型,用于表示独一无二的值。Symbol的特点:1、独一无二,每个Symbol值都是唯一的,不会与其他任何值相等;2、不可变性,Symbol值一旦创建,就不能修改或者重新赋值;3、隐藏性,Symbol值不会被隐式转换为其他类型;4、无法枚举,Symbol值作为对象的属性名时,默认是不可枚举的。

551

2023.09.20

c++主流开发框架汇总
c++主流开发框架汇总

本专题整合了c++开发框架推荐,阅读专题下面的文章了解更多详细内容。

80

2026.01.09

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
Node.js 教程
Node.js 教程

共57课时 | 8.4万人学习

Python 教程
Python 教程

共137课时 | 7.2万人学习

PHP课程
PHP课程

共137课时 | 8.5万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号