hisso.li
  • Login
Show Navigation
  • Public

    • Groups

Conversation

Notices

  1. matoken (matoken@gnusocial.matoken.org)'s status on Thursday, 12-Jul-2018 12:07:38 JST matoken matoken
    手元ではこんな感じで証明書期限間近メール飛ばしてるみたい

    ----
    # 期限切れのEpochを求める
    CRT_EXPIRE=`date +%s --date="\`echo ''| openssl s_client -connect kagolug.org:443 2>/dev/null | openssl x509 -text | grep 'Not After : ' | cut -f2- -d:\`"`

    # 残り1月以下
    elif [ `date +%s --date='1 months'` -gt $CRT_EXPIRE ] ; then
    # matoken@gmail.comにメールする
    echo -e "Certificate Expiration : kagolug.org\n\tNot After : `date +%c --date=@$CRT_EXPIRE`" | mail -s "Certificate Expiration : kagolug.org" matoken@gmail.com
    fi
    In conversation Thursday, 12-Jul-2018 12:07:38 JST from gnusocial.matoken.org permalink
    • Help
    • About
    • FAQ
    • Privacy
    • Source
    • Version
    • Contact

    hisso.li is a social network. It runs on GNU social, version 2.0.0-alpha0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All hisso.li content and data are available under the Creative Commons Attribution 3.0 license.

    Switch to desktop site layout.