<commit_before>TLS Certificate with Let's Encrypt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

certbot with deSEC hook
```````````````````````

dynDNS by deSEC supports the DNS challenge protocol to make it easy for you to
obtain certificates for your domain name easily from anywhere. All you need is
`certbot <https://certbot.eff.org/>`_, your credentials and our certbot hook
script. As always, we appreciate your feedback. Shoot us an email!

To obtain a Let's Encrypt Certificate for your dedyn.io domain, follow these
steps.

#. **Install Certbot.** There are many ways to install certbot, depending on
   your distribution and preference. Please follow the official instructions at
   `<https://certbot.eff.org/>`_.

#. **Install hook script.** To authenticate your dedyn.io domain against Let's
   Encrypt using the DNS challenge mechanism, you will need to update your
   domain according to instructions provided by Let's Encrypt. Our hook script
   automatizes this process for you. To use it, download the following two
   files and place them into a directory of your choice. Make sure to change
   the owner/permissions of the file (``chown``/``chmod``), so that it is only
   readable by your certbot user (usually ``root``). ::

     wget https://raw.githubusercontent.com/desec-io/certbot-hook/master/hook.sh
     wget https://raw.githubusercontent.com/desec-io/certbot-hook/master/.dedynauth

#. **Get a token.** you need to obtain a token for using the API. To get the token use the email address you used when setting up your desec.io account. To get a token run the following curl command: 

     curl -X POST https://desec.io/api/v1/auth/login/ --header "Content-Type: application/json" \<commit_msg>fix(docs): formatting typo<commit_after>TLS Certificate with Let's Encrypt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

certbot with deSEC hook
```````````````````````

dynDNS by deSEC supports the DNS challenge protocol to make it easy for you to
obtain certificates for your domain name easily from anywhere. All you need is
`certbot <https://certbot.eff.org/>`_, your credentials and our certbot hook
script. As always, we appreciate your feedback. Shoot us an email!

To obtain a Let's Encrypt Certificate for your dedyn.io domain, follow these
steps.

#. **Install Certbot.** There are many ways to install certbot, depending on
   your distribution and preference. Please follow the official instructions at
   `<https://certbot.eff.org/>`_.

#. **Install hook script.** To authenticate your dedyn.io domain against Let's
   Encrypt using the DNS challenge mechanism, you will need to update your
   domain according to instructions provided by Let's Encrypt. Our hook script
   automatizes this process for you. To use it, download the following two
   files and place them into a directory of your choice. Make sure to change
   the owner/permissions of the file (``chown``/``chmod``), so that it is only
   readable by your certbot user (usually ``root``). ::

     wget https://raw.githubusercontent.com/desec-io/certbot-hook/master/hook.sh
     wget https://raw.githubusercontent.com/desec-io/certbot-hook/master/.dedynauth

#. **Get a token.** you need to obtain a token for using the API. To get the token use the email address you used when setting up your desec.io account. To get a token run the following curl command::

     curl -X POST https://desec.io/api/v1/auth/login/ --header "Content-Type: application/json" \
{'fraction_non_alphanumeric': 0.11224193079383542, 'fraction_numerical': 0.0005815644082582146, 'mean_word_length': 4.043988269794721, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7292276', 'n_tokens_mistral': 959, 'n_tokens_neox': 903, 'n_words': 436}