ã¿ãªããããã«ã¡ã¯ïŒ
å°ãåã«ãç§ã®è¯ãå人ã圌ã«çªç¶çããåé¡ã§ç§ã«è¿ã¥ããããã解決ããããã®å©ããæ±ããŸããã åé¡ã¯ããã§ããã圌ãåããŠããçµç¹ã«ã¯ãAlt-N Technologiesã®MDaemonã¡ãŒã©ãŒãåããWindowsãµãŒããŒããããŸããã æ°å¹ŽåãStartComã®StartSSL SSL蚌ææžããã®ã¡ãŒã©ãŒã«ã€ã³ã¹ããŒã«ãããŸããã ãããŠããã¹ãŠãããŸãæ©èœãããaskãèŠæ±ããŸããã§ãããçªç¶ããã¹ãŠã®èšŒææžãå®å šãã€ç¡æ¡ä»¶ã®ãã«ãã£ã¯ãåãåãããšãç¥ãããæ²ããæçŽãStartComããå±ããŸããã 奜ãã§ããèªåãæã-誰ãã§ãããããããçæããããŸã§ã ä»æ¥ãç§ãã¡ãã©ã®ããã«æããããããäŒãããŸã-誰ãããã®æ å ±ã圹ã«ç«ã€ãšæãã§ãããã
ããã€ãã®æè©
蚌ææžã®çœ®ãæãã«ã€ããŠè³ªåãããšãã«ãæ®éã®äººãæåã«èããããšã¯äœã§ããïŒ æ¬¡ã®2ã€ã®ãªãã·ã§ã³ããããŸãããŸãã¯-ãªãè²·ããªãã®ã§ããïŒ ãŸãã¯-çŽ æŽãããLet's Encrypt artelããããŸããããã¯ã蚌ææžãå·Šå³ã«ç¡æã§é åžããŸãã æåã®éžæè¢ã¯ãåè¿°ã®ããã«ãµãŒããŒãæ©èœããŠããããridgeãèŠæ±ããããªãnçªç®ã®åžžç·ã®ãéãææŸãå¿ èŠãããã®ãââãçµå¶è ã«èª¬æããããªããšããäºå®ã®ããã«ãæ¯æäžèœãšããŠæ¥ããããæåŠãããŸããã 2çªç®ã®ãªãã·ã§ã³ã¯éåžžã«é åçã§ããããæ°Žå¹³ç·ã«è¿«ãããã€ãã®åé¡ããããŸããïŒã¡ãŒã©ãŒã®ãŠã£ã³ããŠã¯LetsEncryptã¹ã¯ãªãããšã®äºææ§ã«ã€ããŠã®æ²ããèãã瀺åãã3ãæããšã«æåã§èšŒææžãåãåã£ãŠã€ã³ã¹ããŒã«ããããããŸããã§ããã
ãããã£ãŠã2çªç®ã®ãªãã·ã§ã³ãéžæãããŸãã-蚌ææžãååŸãããããã¡ãŒã©ãŒã«ãã€ã³ãããããã»ã¹ãèªååããæ¹æ³ãèŠã€ããå¿ èŠãããã ãã§ãã
ãã¡ãããç§ãã¡ã¯ãæ¢æã®ãœãªã¥ãŒã·ã§ã³ãæ¢ããŠããã°ãããã€ã³ã¿ãŒããããæãäžããããšããå§ããŸããã ãããŠãloïŒ Alt-N Technologiesã®åæ¢ãªããã°ã©ããŒããã§ã«ãããåŠçããå¿ èŠãªãã¹ãŠãå®è¡ããã¹ã¯ãªãããäœæããŠããããšãå€æããŸããã 圌ããèšãããã«-ç§ã®åžœåãè±ãã§ãã ããïŒ ããããè»èã«ã¯ããšããããŸããããããã®ã¹ã¯ãªããã¯ããã¹ãŠã®äººã«é åžãããããã§ã¯ãªããMDaemonã®ææ°ããŒãžã§ã³ã«å«ãŸããŠããŸããã ãã ããã¯ãŒããµãŒããŒã«ã¯ã13.6.3ãšããããªãå€ãããŒãžã§ã³ã®MDaemonãæèŒãããŠããŸããã ãã®ãœãããŠã§ã¢ã¯å®å šã«åæ³ã§ããããã€ãŠã¯æ¬ç©ã®ãéã§è³Œå ¥ãããã®ã®ãããŸãæ©èœãããã®ã¢ããã°ã¬ãŒãã¯ç®¡çèšç»ã«å«ãŸããŠããŸããã§ããïŒèšŒææžã®è³Œå ¥ã«é¢ãã段èœãåç §ïŒã
ãã®ãããæ°ããããŒãžã§ã³ã®MDaemonããå€ãããŒãžã§ã³ã«ã¹ã¯ãªãããå€ç§çã«ç§»æ€ããããã§åäœãããããšã決å®ããŸããã æè-å®äºïŒMDaemonã®ææ°ã®è©Šçšçããã®æç¹ã§ä»®æ³ãã·ã³ã«ã€ã³ã¹ããŒã«ããããã¹ãŠã®ã³ã³ãã³ããå«ãLetsEncryptãã©ã«ããŒãåé€ãããŸããã ããã§ä»äœãããïŒ -以äžããèªã¿ãã ããã
ãœãŒã¹ããŒã¿
- Windows Server 2008 R2ãå®è¡ããŠãããµãŒããŒã
- MDaemonã¡ãŒã«ãµãŒããŒããŒãžã§ã³13.6.3ã
- åããµãŒããŒäžã§ãçµç¹ã®äŒæ¥ãµã€ãã«ãµãŒãã¹ãæäŸããIISãèµ·åãããŸããã
- MDaemonã¯ãç¬èªã®çµã¿èŸŒã¿WorldClient WEBãµãŒããŒã䜿çšããŸãããããã¯ãããŒã3000ãä»ããŠã€ã³ã¿ãŒãããããã¢ã¯ã»ã¹ã§ããŸããã
å¿ é ã®èŠä»¶
ãã®èšäºã§èª¬æããããã«ãMDaemonã®LetsEncryptã¹ã¯ãªããã¯å®å šã«æ®éçã§ã¯ãªãã次ã®åææ¡ä»¶ãæºããå¿ èŠããããŸãã
- PowerShellããŒãžã§ã³3.0ã®ååšã
- ã€ã³ã¹ããŒã«ãããŠããMicrosoft .NET frameworkããŒãžã§ã³ã4.0以äžã§ããããšã
- ã€ã³ã¹ããŒã«ãããããã±ãŒãžIIS管çã¹ã¯ãªããããã³ããŒã«ã®ååšã
- ã€ã³ã¿ãŒãããããããŒã80ãä»ããŠãWorldClientãµãŒããŒãå©çšå¯èœã«ãªããŸã-çŽæ¥ãŸãã¯IISãä»ããŠã
ã芧ã®ãšããããããã®èŠä»¶ã®äžéšã¯æåã¯æºããããŠããªãã£ããããWorldClientã¯æåã«IISã«ãã€ã³ããããŠããŒã80ã«è»¢éãããŸããããããè¡ãæ¹æ³ã«é¢ããæ å ±ã¯ãAlt-N Webãµã€ãã®ãã®èšäºããååŸããŸããã
ãçæãã«ã€ããŠäžèš
段éçãªæé ã®èª¬æã«é²ãåã«ãã¹ã¯ãªããã®ç§»æ€ãšèšŒææžã®ååŸã®ããã»ã¹ãè€éã«ããäºæããªããã©ãã«ã«æ³šæãæããããšæããŸãã
ãŸããã¹ã¯ãªããã®ã»ãšãã©æåã«ããMdaemon.iniããã¡ã€ã«ã®ãEnableWCServerããã©ã¡ãŒã¿ãŒããYesãã«èšå®ãããŠããããšã確èªããŸããã ããã§ãªãå Žåãã¹ã¯ãªããã¯ããã«çµäºããããšã©ãŒïŒWorldClientãæå¹ã«ããå¿ èŠããããŸãããšããé倧ãªãšã©ãŒã¡ãã»ãŒãžã衚瀺ãããŸãã ããããå¥åŠãªããšã«ããã®å Žåããã®ãã©ã¡ãŒã¿ãŒã¯ãããããã«èšå®ãããŸãã-WorldClientãæ¢ã«IISã«ãã€ã³ãããŠãããWorldClientã¯ã€ã³ã¿ãŒãããããå®å šã«éããŠãããšããäºå®ã«ããããããã èãçŽãããšãªããã¹ã¯ãªããã§ã³ã¡ã³ãã¢ãŠãããŠãã®ãã§ãã¯ããªãã«ããŸããã ããã«ãããã¹ã¯ãªããã¯åŒãç¶ãåäœããŸãã
次ã«ãäŒæ¥ãµã€ããåããµãŒããŒäžã«äœæããããã®ãµã€ãã®äžéšã®ããŒãžãžã®ã¢ã¯ã»ã¹ã¯ãèªå·±çœ²å蚌ææžã䜿çšããhttpsãããã³ã«ã䜿çšããŠè¡ãããŸããã ãŸããå€ãWindowsãµãŒããŒã¯ã1ã€ã®IPã«æ·»ä»ã§ãã蚌ææžã¯1ã€ã ãã§ãããšæ³å®ããŠããŸãã LEããã®èšŒææžãæ¢ã«æ£åžžã«ååŸãããããã¢ãã¬ã¹0.0.0.0ã«ãã€ã³ãã§ããªãã£ãå Žåãéè·¯ã®æåŸã§ãã®ã¬ãŒããèžãã ã ãã®çµæãåé¡ã¯è¿ éã«ããããå€å°æ²ãã£ãæ¹æ³ã§è§£æ±ºãããŸããïŒWorldClientã¯å¥ã®IPã¢ãã¬ã¹ã«éä¿¡ããïŒå¹žãã«ãå©çšå¯èœã ã£ãïŒãåã³ã¹ã¯ãªãããç·šéããå¿ èŠããããŸãã-IPã¢ãã¬ã¹ãå ¥åãã©ã¡ãŒã¿ãŒã®ãªã¹ãã«è¿œå ããããã€ã³ãããå¿ èŠããããŸãã蚌ææžã ãŸããWorldClientã®IISãžã®ãã€ã³ãã¯æ¢ã«å®å šã«å®äºããŠãããããç¬èªã®MDaemon WEBãµãŒããŒãèµ·åããããã¹ãŠããã®ãŸãŸã«ããŸããã
è¡ãã
ããŒã1ïŒäºåãã¬ãŒãã³ã°
- ããªãã«ç¥ãããŠããããããæ¹æ³ã§ãç§ãã¡ã¯ãµãŒããŒãéå§ããŸãïŒ
- 4.0以äžã®.NETããŒãžã§ã³ãã€ã³ã¹ããŒã«ããŸãã
- 圹å²ãµãŒãã¹ã®è¿œå ïŒãã³ã³ãããŒã«ããã«ã->ã管çããŒã«ã->ããµãŒããŒãããŒãžã£ãŒã->ã圹å²ãã«ç§»åããã圹å²ãµãŒãã¹ã®è¿œå ããªã³ã¯ãã¯ãªãã¯ããŸãã
ç§ãã¡ã¯ã¯ãªãžãã眮ããŸãïŒ
- WebãµãŒããŒ/ã¢ããªã±ãŒã·ã§ã³éçº/ ISAPIæ¡åŒµ
- WebãµãŒããŒ/ã¢ããªã±ãŒã·ã§ã³éçº/ ISAPIãã£ã«ã¿ãŒ
- 管çããŒã«/ IIS管çã¹ã¯ãªããããã³ããŒã«
[次ãž]ãã¯ãªãã¯ããŸãã - Windows Management Framework 3.0ãã€ã³ã¹ããŒã«ããŸã-ããã«ãããPowerShellããŒãžã§ã³3.0ãã·ã¹ãã ã«ã€ã³ã¹ããŒã«ãããŸãïŒå¿
é èŠä»¶ã»ã¯ã·ã§ã³ãåç
§ïŒã
- Microsoft Webãµã€ããã WMF 3.0 ãããŠã³ããŒãããŸãã
- ç®çã®WMFãã€ã³ã¹ããŒã«ããŸãã Windows Server 2008 R2ã®å Žåãããã¯ãWindows6.1-KB2506143-x64.msuãã§ãã
- ãµãŒããŒãåèµ·åããŸãã
ããŒã2ïŒWorldClientãµãŒããŒã«ã¢ã¯ã»ã¹ããIISãµã€ããäœæãã
泚1ïŒ MDaemonã«çµ±åãããWorldClientãµãŒããŒã䜿çšãããã§ã«ããŒã80ã«æä»çã«é 眮ãããŠããå Žåããã®ããŒããå®å šã«ã¹ãããããŠããŒã3ã«çŽæ¥é²ãããšãã§ããŸãã
泚2ïŒãµã€ãã® ããã¹ãåãã¯ãã€ã³ã¿ãŒãããããã¢ã¯ã»ã¹ã§ããMDaemonãã¹ãã®å®å šä¿®é£Ÿãã¡ã€ã³åãšåãã§ããå¿ èŠããããŸãã
MDaemonãã¹ãã®å®å
šãªãã¡ã€ã³åã確èªããã«ã¯ïŒMdaemon GUIãèµ·åããã¡ãã¥ãŒã«ç§»åããŸãïŒ 'èšå®'-> 'ãã©ã€ããªãã¡ã€ã³/ãµãŒããŒ'-> 'æ¢å®ã®ãã¡ã€ã³ãšãµãŒããŒ'-> 'ãã¡ã€ã³'ã§ã 'å®å
šãªãã¹ããã¡ã€ã³å'ãã£ãŒã«ãã確èªããŸãã
ããã§ã¯å§ããŸãããã IISãããŒãžã£ãŒãèµ·åããŠãæ°ãããµã€ããè¿œå ããŸãã
- [ãµã€ãå]ãã£ãŒã«ãã«ããµã€ãã®ååïŒå¥œããªãã®ïŒãå ¥åããŸãã
- [ç©çãã¹]ãã£ãŒã«ãã«ãã¯ãŒã«ãã¯ã©ã€ã¢ã³ãã®HTMLãã©ã«ããŒãžã®ãã¹ãå ¥åããŸãã
- [ãã¹ãå]ãã£ãŒã«ãã§ããã¹ãã®å®å šä¿®é£Ÿãã¡ã€ã³åãæå®ããŸãïŒäžèšã®æ³š2ãåç §ïŒã
- [IPã¢ãã¬ã¹]ãã£ãŒã«ãã§ãã€ã³ã¿ãŒãã§ã€ã¹ãæä»çã«äœ¿çšãããå Žåã¯[ãã¹ãŠæªå²ãåœãŠ]ã®ãŸãŸã«ããããã¡ãŒã©ãŒã«å±ããIPããªã¹ãããéžæããŸãã
- ãã£ãŒã«ããã¿ã€ãããšãããŒããã¯ããããããhttpããšã80ãã®ãŸãŸã§ãã
ããã©ã«ãã®ãµã€ãææžã®ãªã¹ããç·šéããŸã-ãµãã»ã¯ã·ã§ã³ãããã©ã«ãææžãã«é²ã¿ãŸãã
- ãªã¹ãå šäœãã¯ãªã¢ããŸãã
- ããã¥ã¡ã³ããWorldClient.dllããè¿œå ããŸããå³åŽã®ããã«ã®ãã¢ã¯ã·ã§ã³ãã§ãè¿œå ...ããã¯ãªãã¯ãããååããã£ãŒã«ãã«ãWorldClient.dllããšå ¥åããŸãã
- ããã¥ã¡ã³ããMDSyncML.dllããè¿œå ããŸããå³åŽã®ããã«ã®ãã¢ã¯ã·ã§ã³ãã§ãè¿œå ...ããã¯ãªãã¯ãããååããã£ãŒã«ãã«ãMDSyncML.dllããšå ¥åããŸãã
- ãªã¹ãã®æåã«ãWorldClient.dllããèšå®ããŸãããããéžæãããã¢ã¯ã·ã§ã³ãã®å³ãã€ã³ã§ãäžã«ç§»åããã¯ãªãã¯ããŸãã
ããã³ãã©ãŒãããã³ã°ãã»ã¯ã·ã§ã³ã«ç§»åããŸãã
- ãæ©èœã®ã¢ã¯ã»ã¹èš±å¯ãã®ç·šéïŒå³åŽã®ããã«ã®ãã¢ã¯ã·ã§ã³ãã§ãæ©èœã®ã¢ã¯ã»ã¹èš±å¯ã®ç·šé...ããã¯ãªãã¯ãããã¹ãŠã®kryzhiki-ãèªã¿åããããã¹ã¯ãªããããããã³ãå®è¡ããé 眮ããŸãã
- ãISAPI-dllãã®ãªã¹ããèŠã€ããŠãããã«å ¥ããŸãã
- ããªã¯ãšã¹ããã¹ããã£ãŒã«ãã«ãWorldClient.dllããšå ¥åããŸãã
- ãã¢ãžã¥ãŒã«ããªã¹ãã§ããIsapiModuleããéžæããŸãã
- ãå®è¡å¯èœïŒãªãã·ã§ã³ïŒããã£ãŒã«ãã§ãWorldClient.dllãžã®ãã¹ãæå®ããŸãã
- æ°ãããã³ãã©ãŒãè¿œå ããŸããå³åŽã®ããã«ã®ãã¢ã¯ã·ã§ã³ãã§ãã¢ãžã¥ãŒã«ãããã³ã°ã®è¿œå ...ããã¯ãªãã¯ããŸãã
- ããªã¯ãšã¹ããã¹ããã£ãŒã«ãã«ãMDSyncML.dllããšå ¥åããŸãã
- ãã¢ãžã¥ãŒã«ããªã¹ãã§ããIsapiModuleããéžæããŸãã
- ãå®è¡å¯èœïŒãªãã·ã§ã³ïŒããã£ãŒã«ãã§ãMDSyncML.dllãžã®ãã¹ãæå®ããŸãã
- ãååããã£ãŒã«ãã«æ確ãªäœããå ¥åããŸãã ããšãã°ããSyncML-ISAPIãã
ãMIMEã¿ã€ãããç·šéããŸã-ãããè¡ãããªãå ŽåãLetsEncryptããããã¯æ¡åŒµåãªãã§ãã¡ã€ã«ãåä¿¡ã§ããŸããã
- ãMIMEã¿ã€ããã»ã¯ã·ã§ã³ã«ç§»åããŸãã
- ãã¢ã¯ã·ã§ã³ãã®å³åŽã®ããã«ã§ãè¿œå ...ããã¯ãªãã¯ããŸãã
- ããã¡ã€ã«åæ¡åŒµåããã£ãŒã«ãã«ãã€ã³ããå ¥åããŸãã
- ãMIMEã¿ã€ãããã£ãŒã«ãã«ãtext / plainããšå ¥åããŸãã
ãµã€ãã®äœææã«èªåçã«äœæããããã¢ããªã±ãŒã·ã§ã³ããŒã«ããç·šéããŸãã
- [ã¢ããªã±ãŒã·ã§ã³ããŒã«]-> [MDaemon WorldClient]-> [詳现èšå®...]ã«ç§»åããŸãã
- ãããã»ã¹ã¢ãã«ãã»ã¯ã·ã§ã³ã§ããIDããããããã¯ãŒã¯ãµãŒãã¹ãã«å€æŽããŸãã
- OSã64ãããã®å Žåããäžè¬ãã»ã¯ã·ã§ã³ã§ã32ãããã¢ããªã±ãŒã·ã§ã³ãæå¹ã«ãããããTrueãã«å€æŽããŸãã
ã³ã³ãœãŒã«ãéããŸãã IISãæ§æãããŸãã
次ã«ããŠãŒã¶ãŒ 'IUSR'ããã³ 'NETWORK SERVICE'ã«MDaemonãã©ã«ããŒãžã®ãã«ã¢ã¯ã»ã¹ãèš±å¯ããŸãã
- ãšã¯ã¹ãããŒã©ã«ç§»åãããMDaemonããã©ã«ãã®ãããããã£ããã©ã«ããéãããã»ãã¥ãªãã£ãã¿ãã«ç§»åããŠããç·šéããã¯ãªãã¯ããŸãã
- [è¿œå ]-> [詳现èšå®]-> [ä»ããæ€çŽ¢]ãã¯ãªãã¯ããŸã-[æ€çŽ¢çµæ]ã®ãªã¹ãã§ãŠãŒã¶ãŒ[IUSR]ãéžæãã[OK]ãã¯ãªãã¯ããŸãã
- ãIUSRã®ã¢ã¯ã»ã¹èš±å¯ãã®ãªã¹ãã«ã¹ã°ãªããã«ã³ã³ãããŒã«ããå ¥ããŸãã
- [è¿œå ]-> [詳现èšå®]-> [ä»ããæ€çŽ¢]ãã¯ãªãã¯ããŸã-[æ€çŽ¢çµæ]ã®ãªã¹ãã§ãŠãŒã¶ãŒ[ãããã¯ãŒã¯ãµãŒãã¹]ãéžæãã[OK]ãã¯ãªãã¯ããŸãã
- ãNETWORK SERVICEã®ã¢ã¯ã»ã¹èš±å¯ãã®ãªã¹ãã«ã¹ã°ãªããã«ã³ã³ãããŒã«ããå ¥ããŸãã
- ãOKããã¯ãªãã¯ããŠäž¡æ¹ã®ãŠã£ã³ããŠãéããŸãã
WorldClientãæ§æãããŸãã ãã¹ãã®å®å šä¿®é£Ÿãã¡ã€ã³åã䜿çšããŠãã€ã³ã¿ãŒãããçµç±ã§ãã©ãŠã¶ã«ã¢ã¯ã»ã¹ããŠãWorldClientãæ£åžžã«éãããšã確èªããŸãã
ããŒã3ïŒLetsEncryptã¹ã¯ãªããã®ã€ã³ã¹ããŒã«ãšæ§æ
- ããããã¹ã¯ãªããã䜿çšããŠã¢ãŒã«ã€ããããŠã³ããŒããããMDaemonããã©ã«ããŒã®ã«ãŒãã«è§£åããŸãã éèŠãªæ³šæïŒã¹ã¯ãªããã§ã¯ãã¡ã€ã³ã®LetsEncryptãµãŒããŒããã¹ããµãŒããŒã«çœ®ãæããããŸããããã¯ããããã°ããã»ã¹äžã«èšŒææžãååŸããããšããç¹°ãè¿ãè©Šè¡ã«ããçŠæ¢ãé²ãããã§ãã 次ã®éšåã§ã¯ãã¡ã€ã³ãµãŒããŒã«åãæ¿ããæ¹æ³ã«ã€ããŠèª¬æããŸãã
- ç°å¢å€æ°ãPSModulePathãã®ã¹ã¯ãªããã§äœ¿çšãããã¢ãžã¥ãŒã«ãžã®ãã¹ãè¿œå ããŸãã
- [ã³ã³ãããŒã«ããã«]-> [ã·ã¹ãã ]-> [ã·ã¹ãã ã®è©³çŽ°èšå®]-> [詳现]-> [ç°å¢å€æ°]ã«ç§»åããŸãã
- ãã·ã¹ãã å€æ°ãã®ãªã¹ãã§å€æ°ãPSModulePathããæ¢ããŠããŸãã
- ã;ãã§è¿œå ãã®æåŸã¯ããLetsEncryptããã©ã«ããŒå ã«ãããModulesããã©ã«ããŒãžã®ãã¹ã§ãã ç§ã®å ŽåãããïŒ 'cïŒ\ MDaemon \ LetsEncrypt \ Modules \
- ãã°ã€ã³ããŠããŸãã
- cmdã³ã³ãœãŒã«ãèµ·åããŸãã
- 次ã®ã³ãã³ãã䜿çšããŠãletsencrypt.ps1ã¹ã¯ãªãããå®è¡ããŸãã
ããã§ããã©ã¡ãŒã¿ãFileãã¯ã¹ã¯ãªãããžã®ãã¹ãèšå®ããŸããpowershell -ExecutionPolicy ByPass -File c:\mdaemon\letsencrypt\letsencrypt.ps1
è¿œå ã®ãã©ã¡ãŒã¿ãŒã䜿çšã§ããŸãã
- -IISSiteName "MDaemon WorldClient"
WorldClientãIISãä»ããŠåäœããå Žåããã®ãã©ã¡ãŒã¿ãŒã䜿çšããŠãã¹ã¯ãªããã®WorldClientãµã€ãåãæå®ããå¿ èŠããããŸãïŒããŒã2ãåç §ïŒ - -WCIPAddress xxx.xxx.xxx.xxx
ãã®ãã©ã¡ãŒã¿ãŒã¯ãã¹ã¯ãªãããåä¿¡ãã蚌ææžãæ·»ä»ããIPã¢ãã¬ã¹ãèšå®ããŸãã ä»ã®èšŒææžãããŒã443ã«æ¥ç¶ãããŠããªãå Žåã¯ãæå®ããå¿ èŠã¯ãããŸããã - -ãadmin@server.comããž
ãã®ãã©ã¡ãŒã¿ãŒã¯ããšã©ãŒãçºçããå Žåã«ã¹ã¯ãªããã®ãã°ãéä¿¡ãããé»åã¡ãŒã«ãèšå®ããŸãã
ã³ã³ãœãŒã«ãŠã£ã³ããŠã確èªããŸã-ã¹ã¯ãªããã¯ãšã©ãŒãªãã§å®è¡ãããŸãã
äœããããŸããããªãå Žåã¯ããã®åé¡ã«èªåã§å¯ŸåŠããå¿ èŠããããŸãã
ãã¹ãŠãæåããå Žåãhttpsãããã³ã«ã䜿çšããŠWorldClientãã©ãŠã¶ãŒã«ã¢ã¯ã»ã¹ã§ããŸããLetsEncryptãã¹ããµãŒããŒã䜿çšããããããã©ãŠã¶ãŒã¯ãµã€ã蚌ææžãã¡ãã»ãŒãžãSEC_ERROR_UNKNOWN_ISSUERãã§åªããŸãã
ã¡ãªã¿ã«ããã¡ã€ã« 'Mdaemon.ini'ã®ãªãã·ã§ã³ 'EnableWCServer'㧠"rake"ã«ã€ããŠè©±ããããšãæãåºããŠãã ãããIISã§ãã³ãã«ã䜿çšãããšã 'No'ã«èšå®ãããŸãã ãã®ãããã¹ã¯ãªãããæ£åžžã«å®è¡ããåŸããã®ãã©ã¡ãŒã¿ãŒã¯ãã¯ããã«å€æŽãããŸããã ãã ããããã¯å°ãé ããŠçºçãããããã¹ã¯ãªããå ã®ãã®ãã©ã¡ãŒã¿ãŒã®æ€èšŒã«ã€ããŠã¯ã³ã¡ã³ãããŸããã§ããã
- -IISSiteName "MDaemon WorldClient"
ããŒã4ïŒã¹ã¯ãªããããæŠéã¢ãŒããã«å€æãã
- ããã¹ããšãã£ã¿ãŒã§LetsEncryptãã©ã«ããŒã®letsencrypt.ps1ã¹ã¯ãªãããéããŸãã
- 次ã®è¡ãèŠã€ããŸãã
#Initialize-ACMEVault -ErrorVariable LogText Initialize-ACMEVault -BaseURI https://acme-staging.api.letsencrypt.org/ -ErrorVariable LogText
- æåã®è¡ã®ã³ã¡ã³ãã解é€ãã2çªç®ã®è¡ãã³ã¡ã³ãåããŸãã
Initialize-ACMEVault -ErrorVariable LogText #Initialize-ACMEVault -BaseURI https://acme-staging.api.letsencrypt.org/ -ErrorVariable LogText
- ã¹ã¯ãªãããä¿åããŸãã
ããŒã5ïŒããã¹ããã©ã€ãã®çè·¡ããã¹ãŠåé€ãã
ãããè¡ããªãå Žåãã¹ã¯ãªããã«å¿ èŠãªå€æŽãå ããã«ãããããããã¹ã¯ãªããã¯æ°ãæéãåœã®ã蚌ææžãæäŸãç¶ããŸãã
- MDaemonãããã¹ã蚌ææžãåé€ããŸãã
- MDaemon GUIãèµ·åãã[ã»ãã¥ãªãã£]-> [ã»ãã¥ãªãã£èšå®]-> [SSLïŒTLS]ã¡ãã¥ãŒã«ç§»åããŸãã
- 蚌ææžã®ãªã¹ãã§ããã¹ã蚌ææžãéžæãïŒãéä¿¡è ããã£ãŒã«ãã«ãFake LE Intermediate X1ãã衚瀺ãããŸãïŒããªã¹ãã®äžã«ãããåé€ããã¿ã³ãã¯ãªãã¯ããŸãã
- 蚌ææžã®ãªã¹ãã空ã«ãªã£ãå Žåãèªå·±çœ²å蚌ææžãäœæããå¿ èŠããããŸããäœæããªããšããŠã£ã³ããŠãéããããšãããšãã«MDaemonãèªããŸãã
- ã¹ã¯ãªããã«ãã£ãŠäœæãããããŒã¹ãã¢ãåé€ããŸãã管çè ã¢ã«ãŠã³ãã§äœæ¥ããå Žåã¯ãcïŒ\ ProgramData \ãã«ç§»åãããŠãŒã¶ãŒã¢ã«ãŠã³ãã§ãCïŒ\ Users \ username \ AppData \ Local \ãã«ç§»åãããããããã©ã«ããŒãACMESharpããåé€ããŸããã¹ãŠã®ã³ã³ãã³ããšãšãã«ã
- ã¹ã¯ãªããã«ãã£ãŠäœæãããXMLãã¡ã€ã«ãåé€ããŸãããMDaemon \ LetsEncryptããã©ã«ããŒã«ç§»åããããããLetsEncrypt.XMLãã¡ã€ã«ãåé€ããŸãã
- ãã¹ã蚌ææžãåé€ããŸãããMDaemon \ Pemããã©ã«ãã«ç§»åããããã«ãã蚌ææžïŒæ¡åŒµåãpfxãã®ãã¡ã€ã«ïŒãèŠã€ããŠåé€ããŸãã
ããŒã6ïŒã¹ã±ãžã¥ãŒã«ãããã¹ã¯ãªããã®ã»ããã¢ãã
- [ã³ã³ãããŒã«ããã«]-> [管çããŒã«]-> [ã³ã³ãã¥ãŒã¿ãŒç®¡ç]-> [ã·ã¹ãã ããŒã«]-> [ã¿ã¹ã¯ã¹ã±ãžã¥ãŒã©ãŒ]-> [ã¿ã¹ã¯ã¹ã±ãžã¥ãŒã©ãŒã©ã€ãã©ãª]ã«ç§»åããŸãã
- æ°ããã¿ã¹ã¯ãäœæããŸããå³åŽã®ããã«ã®ãã¢ã¯ã·ã§ã³ãã§ãã¿ã¹ã¯ã®äœæ...ããã¯ãªãã¯ããŸãã
- ãäžè¬ãã¿ãã§ïŒ
- ãååããã£ãŒã«ãã«ãã¿ã¹ã¯ã®ååãæžããŸã-ãªãã·ã§ã³ã§ãªã¯ãšã¹ãã«å¿ããŠã
- ãã»ãã¥ãªãã£ãªãã·ã§ã³ããµãã»ã¯ã·ã§ã³ã§ãããŠãŒã¶ãŒããã°ãªã³ããŠãããã©ããã«é¢ä¿ãªãå®è¡ãããé ç®ãéžæããŸãã
- [ããªã¬ãŒ]ã¿ãã§ïŒ
- ãæ°èŠ...ããã¿ã³ãæŒããŸã-ãæ°èŠããªã¬ãŒããŠã£ã³ããŠãéããŸãã
- ãã¿ã¹ã¯ã®éå§ããªã¹ãã§ãã¹ã±ãžã¥ãŒã«ã©ããããéžæããŸãã
- é©åãªèµ·åé »åºŠãèšå®ããŸãïŒããšãã°ãæ¥ææ¥ã«é±ã«1åã ã¹ã¯ãªããã¯ãéå§ãããã³ã«-æ®ãã®èšŒææžã®éããã§ãã¯ããŸãã1ãææªæºã®å Žåã¯æŽæ°ãããŸãã
- [ã¢ã¯ã·ã§ã³]ã¿ãã§ïŒ
- ãæ°èŠããã¿ã³ãæŒããŸã-ãæ°èŠã¢ã¯ã·ã§ã³ããŠã£ã³ããŠãéããŸãã
- ãã¢ã¯ã·ã§ã³ããªã¹ãã§ããããã°ã©ã ã®éå§ããéžæããŸãã
- ãããã°ã©ã /ã¹ã¯ãªããããã£ãŒã«ãã«ãpowershellããšå ¥åããŸãã
- ãåŒæ°ã®è¿œå ïŒãªãã·ã§ã³ïŒããã£ãŒã«ãã«ã-ExecutionPolicy ByPass -File cïŒ\ MDaemon \ LetsEncrypt \ letsencrypt.ps1ããšå ¥åããŸãã è¡ã®æ«å°Ÿã«å¿ èŠãªè¿œå ãã©ã¡ãŒã¿ãŒãè¿œå ããŸãïŒããŒã3ãåç §ïŒã
- [æ¡ä»¶]ã¿ãã§ãã°ãŒãºããªãŒãè£éã§å ¥ããŸãã
- [èšå®]ã¿ãã§ãã°ãŒãºããªãŒãå ¥ããŸãã
- ã¿ã¹ã¯ããªã³ããã³ãã§å®è¡ããããšãèš±å¯ãã
- 1æé以äžå®è¡ãããŠããå Žåã¯ãã¿ã¹ã¯ãåæ¢ããŸã
- èŠæ±ããããšãã«å®è¡äžã®ã¿ã¹ã¯ãçµäºããªãå Žåã¯ã匷å¶çã«åæ¢ããŸã
- ãOKããã¿ã³ãã¯ãªãã¯ããŸãã çŸåšã®ãŠãŒã¶ãŒã®ãã¹ã¯ãŒããå ¥åããŸãã
ããŒã7ïŒæåã®ãæŠéãæã¡äžã
ã¹ã¯ãªãããæåã§éå§ããŸãã
- ãªã¹ãã§æ°ããäœæãããã¿ã¹ã¯ãéžæããŸãã
- å³åŽã®ãã€ã³ã®ãã¢ã¯ã·ã§ã³ãã§ãå®è¡ããã¯ãªãã¯ããŸãã ãŠã£ã³ããŠã¯éããŸããã
- æã ãã¿ã¹ã¯ãªã¹ããæŽæ°ããŠã¿ãŸããã-ãã¹ããŒã¿ã¹ããã£ãŒã«ãã®å€æŽã確èªããã«ã¯ããã¹ããŒã¿ã¹ãããå®è¡ãã«å€æŽããå¿ èŠããããŸãã ãã¹ããŒã¿ã¹ããåã³ãæºåå®äºãã«ãªããŸã§ãªã¹ããæŽæ°ããŸãã
- ãã°ãã¡ã€ã«ãMDaemon \ Logs \ LetsEncrypt.logãã§ã¹ã¯ãªããã®çµæã確èªããŸãã
ãã°ãã¡ã€ã«ããå€æããŠããã¹ãŠãããŸããã£ãå Žåããžã§ãã¯å®äºã§ã-蚌ææžãåä¿¡ãããå®å šãªãã£ãã«ã§ã¡ãŒã«ã®éåä¿¡ã®å¹çã確èªã§ããŸãã ãããŠãã¯ããhttpsãããã³ã«ã䜿çšããŠã¡ãŒã©ãŒã«ãã°ã€ã³ããããšãå¿ããªãã§ãã ãã-WorldClientãåé¡ãªãåäœããããšã確èªããŠãã ããã
ããŒãã©ã¹ã-ãã¡ã€ãã«
çµè«ãšããŠãèšäºãæžããŠããæç¹ã§ã¯æŠéãµãŒããŒã«ã¢ã¯ã»ã¹ã§ããªããªã£ãŠãããããã¹ã¯ãªãŒã³ã·ã§ããã¯ãã¹ãŠãMDaemonã®ããã«å€ãããŒãžã§ã³ïŒ13.0.4ïŒãã€ã³ã¹ããŒã«ãããŠããä»®æ³ãã·ã³ããååŸããããããä»ã®ããŒãžã§ã³ãšã¯ç°ãªããŸãã
ãŸããããã ãã§ãã ç§ãç¥ã£ãŠããããšã¯ãã¹ãŠèªãããŸããã æããŸããŠããã§ãšãããããŸãïŒ ããªãã®å¥åº·ãšå¹žéãç¥ããŸãïŒ