flagflag  
11: 2021-06-26 (Sat) 18:53:12 iseki source Cur: 2021-06-29 (Tue) 18:23:10 iseki source
Line 16: Line 16:
- 潰してクリーンインストール! - 潰してクリーンインストール!
#br #br
 +*** certbot [#fd653f81]
 +**** certbot-auto [#y7ebac81]
 +- 最新版は動かない(2021 6/29)
 +- 古いバージョンの certbot-auto をダウンロード
 + # /usr/local/sbin
 + # wget https://raw.githubusercontent.com/certbo​t/certbot/v1.9.0/certbot-auto
 +- スクリプト /usr/local/sbin/certbot を作る
 + #!/bin/bash
 + /usr/local/sbin/certbot-auto $* --no-self-upgrade --no-bootstrap
 +#br
 +**** python3.6 [#gf3c1b6e]
 +- python3 が必要だがダウンロードできないので,ソースからコンパイルする.
 + # wget https://www.python.org/ftp/python/3.6.2/​Python-3.6.2.tar.xz
 + # xzcat Python-3.6.2.tar.xz | tar xfv -
 + # cd Python-3.6.2
 + # ./configure
 + # make
 + # make install
 +
 +**** certbot [#o0bc8bd5]
 +- certbot certonly --webroot -w /home/apache/htdocs -d www.nsl.tuis.ac.jp
 +-- DocumentRoot にファイルを作って,サーバでそれをチェックしているみたい(サーバの存在確認)
 + 
 +- サーバ証明書と秘密鍵が以下にできる.(シンボリックリンク)
 +-- 証明書:/etc/letsencrypt/live/www.nsl.tuis.ac.jp​/fullchain.pem
 +-- 秘密鍵:/etc/letsencrypt/live/www.nsl.tuis.ac.jp​/privkey.pem
 +#br
 +**** cron [#o6968d67]
 +- 月一または週一で以下の cronを流す.
 + 00 3 1 * * /usr/local/sbin/certbot renew 1>/dev/null 2>&1 && /etc/init.d/httpd restart 1>/dev/null 2>&1
** CentOS6 Memo [#q68da89e] ** CentOS6 Memo [#q68da89e]
Line 118: Line 148:
     </Include>      </Include>
   </Menu>    </Menu>
 + 
  </Menu> <!-- End Applications -->   </Menu> <!-- End Applications -->


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

46 user(s) are online (5 user(s) are browsing xpwiki)

Members: 0
Guests: 46

more...

Access Counter

Today : 9263926392639263
Yesterday : 1889718897188971889718897
Total : 2342286023422860234228602342286023422860234228602342286023422860
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com