專案

一般

配置概況

動作

Bug #54

已結束
SC SC

Feature #51: 架設moodle作為課程系統

Bug #53: Install Moodle inside subdomain(moodle.localhost)

SSL certificate issue

Bug #54: SSL certificate issue

是由 Sashiba Chou超過 4 年 前加入. 於 超過 4 年 前更新.

狀態:
Closed
優先權:
Immediate
被分派者:
開始日期:
2021-07-19
完成日期:
2021-07-19
完成比例:

100%

預估工時:
2:00 小時
耗用工時:

概述

Current ssl.conf:


[req]
prompt = no
default_md = sha256
default_bits = 2048
distinguished_name = dn
x509_extensions = v3_req

[dn]
C = TW
ST = Taiwan
L = Taipei
O = Beasincere Com.
OU = IT Department
emailAddress = sashiba042@gmail.com
CN = localhost

[v3_req]
subjectAltName = @alt_names

[alt_names]
DNS.1 = *.localhost
DNS.2 = localhost
IP.1 = 127.0.0.1

SC 是由 Sashiba Chou超過 4 年 前更新 動作 #1

  • Generate CA(憑證), follow this instructions

https://blog.miniasp.com/post/2019/02/25/Creating-Self-signed-Certificate-using-OpenSSL?utm_source=pocket_mylist

  • 安裝憑證

https://a091234765.pixnet.net/blog/post/403840004

  • 放置憑證於(.crt, .key)

D:\installed\xampp\apache\conf\ssl.crt
D:\installed\xampp\apache\conf\ssl.key

  • 更新憑證

打開certmgr.msc
刪除舊憑證
安裝新憑證(.crt)
Restart xampp

SC 是由 Sashiba Chou超過 4 年 前更新 動作 #2

  • 狀態New 變更為 Closed
  • 完成比例0 變更為 100
  • ssl.conf

[req]
prompt = no
default_md = sha256
default_bits = 2048
distinguished_name = dn
x509_extensions = v3_req

[dn]
C = TW
ST = Taiwan
L = Taipei
O = Beasincere Com.
OU = IT Department
emailAddress = sashiba042@gmail.com
CN = localhost

[v3_req]
subjectAltName = @alt_names

[alt_names]
DNS.1 = moodle.localhost
DNS.2 = localhost
DNS.3 = *.localhost
IP.1 = 127.0.0.1
  • D:\installed\xampp\apache\conf\httpd-ssl.conf

Comment(inside tag )


#####DocumentRoot "D://Code/Web/hoosk_beasincere"

Add



    DocumentRoot "D://Code/Web/hoosk_beasincere"
    ServerName localhost

    SSLEngine on

    SSLCertificateKeyFile "conf/ssl.key/server.key"
    SSLCertificateFile "conf/ssl.crt/server.crt"

   
動作

匯出至 PDF Atom