1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        SharkeyOpenSSH管理證書使用服務(wù)

        聯(lián)合創(chuàng)作 · 2023-10-01 08:56

        Sharkey 是OpenSSH管理證書使用的服務(wù)。

        say no to TOFU

        Sharkey 分為客戶端組件和服務(wù)端組件,服務(wù)端負(fù)責(zé)發(fā)布已簽署的主機(jī)證書,客戶端負(fù)責(zé)在機(jī)器上安裝主機(jī)證書。

        服務(wù)端使用示例:

        usage: sharkey-server --config=CONFIG [<flags>]
        
        Flags:
          --help           Show context-sensitive help (also try --help-long and --help-man).
          --config=CONFIG  Path to yaml config file for setup
          --suffix=SUFFIX  Suffix of hostnames that will be supplied to server.
          --version        Show application version.

        服務(wù)端配置示例:

        # SQLite database
        # ---
        db:
          address: /path/to/sharkey.db
          type: sqlite
        
        # MySQL database
        # ---
        # db:
        #   username: root
        #   password: password
        #   address: hostname:port
        #   schema: ssh_ca
        #   type: mysql
        #   tls:                                       # MySQL TLS config (optional)
        #     ca: /path/to/mysql-ca-bundle.pem
        #     cert: /path/to/mysql-client-cert.pem     # MySQL client cert
        #     key: /path/to/mysql-client-cert-key.pem  # MySQL client cert key
        #     min_version: 1.2                         # Min. TLS version
        
        # Server listening address
        listen_addr: "0.0.0.0:8080"
        
        # TLS config for serving requests
        # ---
        tls:
          ca: /path/to/ca-bundle.pem
          cert: /path/to/server-certificate.pem 
          key: /path/to/server-certificate-key.pem
          min_version: 1.2                             # Min. TLS version (optional) 
        
        # Signing key (from ssh-keygen)
        signing_key: /path/to/ca-signing-key 
        
        # Lifetime/validity duration for generated host certificates
        cert_duration: 168h

        客戶端使用示例:

        usage: sharkey-client --config=CONFIG [<flags>]
        
        Flags:
          --help           Show context-sensitive help (also try --help-long and --help-man).
          --config=CONFIG  Path to yaml config file for setup
          --version        Show application version.

        客戶端配置示例:

        # Server address
        request_addr: "https://sharkey-server.example:8080"
        
        # TLS config for making requests
        # ---
        tls:
          ca: /path/to/ca-bundle.pem
          cert: /path/to/client-certificate.pem 
          key: /path/to/client-certificate-key.pem
        
        # OpenSSH host key (unsigned)
        host_key: /etc/ssh/ssh_host_rsa_key.pub
        
        # Where to install the signed host certificate
        signed_cert: /etc/ssh/ssh_host_rsa_key_signed.pub
        
        # Where to install the known_hosts file
        known_hosts: /etc/ssh/known_hosts
        
        # How often to refresh/request new certificate
        sleep: "24h"
        瀏覽 25
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            欧美日韩国产不卡视频 | 草屄网| chinese偷拍一区二区三区 | 日本一级全黄60分钟 | 99热精品视 | 国产免费观看a大片的网站 | 99精品视频网站 | 国产精品爆操自拍 | 国产婷婷色一区二区三区 | 久久人妻av |