2017-09-12 8 views
0

作成方法サブドメインの自己署名入り証明書を暗号化しましょうか?作成方法サブドメイン専用の自己署名証明書を暗号化しましょうか? (投稿のエラー)

具体的には:

  • sub.domain.com

the following instructionsを以下、私が手

  • domain.com(何を指していません)(IPアドレスに証明書とポイントを必要とします)次のエラー:

    >>> sudo -H ./letsencrypt-auto certonly --standalone -d sub.domain.com --register-unsafely-without-email 
    Saving debug log to /var/log/letsencrypt/letsencrypt.log 
    Plugins selected: Authenticator standalone, Installer None 
    Obtaining a new certificate 
    Performing the following challenges: 
    tls-sni-01 challenge for sub.domain.com 
    Waiting for verification... 
    Cleaning up challenges 
    Failed authorization procedure. sub.domain.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout 
    
    IMPORTANT NOTES: 
    - The following errors were reported by the server: 
    
        Domain: sub.domain.com 
        Type: connection 
        Detail: Timeout 
    
        To fix these errors, please make sure that your domain name was 
        entered correctly and the DNS A/AAAA record(s) for that domain 
        contain(s) the right IP address. Additionally, please check that 
        your computer has a publicly routable IP address and that no 
        firewalls are preventing the server from communicating with the 
        client. If you're using the webroot plugin, you should also verify 
        that you are serving files from the webroot path you provided. 
    
  • +0

    セットアップするサーバーでコマンドを実行していますか? – jrtapsell

    +0

    @jrtapsellいいえ、それは私の問題でした - あなたが回答を投稿すると私はそれを受け入れるでしょう – GNettlefold

    答えて

    0

    サーバー上でコマンドを実行する必要があります。コマンドがドメインを制御していることを確認するため、サーバー上にない場合は正しく検証できません。

    1

    ドミノを指すことなく、サブドメインに対して証明書を暗号化しようとすることができます。

    • DNS管理にログインし、サブドメインのNAMEレコードを作成します。 A NAMEにはIPアドレスが必要です
      • sub.domian.comはインターネット経由でアクセスできることを確認してください。
      • sub.domian.comのスクリプトを実行します。

    https://zerossl.com/free-ssl/#crtもしかし、それは.well知られて作成するために、いくつかの手動ステップを必要とする証明書およびキーを生成するために使用することができ、acemeチャレンジフォルダはsub.domian.com/DocumentRootの

    に作成する必要があります
    関連する問題