<commit_before>[![Build Status](https://travis-ci.org/mariano-dagostino/AcmeTinyHelper.svg?branch=master)](https://travis-ci.org/mariano-dagostino/AcmeTinyHelper)

# AcmeTinyHelper

This project is a helper for [acme-tiny.py](https://github.com/diafygi/acme-tiny)
that automate the creation of the files required by letsencrypt and acme-tiny to
get a certificate.

# Example

```./AcmeTinyHelper new --path=/etc/letsencrypt/certs --domains='example.com'```

The result of running this script is:

```
mkdir -p /etc/letsencrypt/certs/example.com

openssl genrsa 4096 > /etc/letsencrypt/certs/example.com/account.key

openssl genrsa 4096 > /etc/letsencrypt/certs/example.com/domain.key

openssl dhparam -out /etc/letsencrypt/certs/example.com/dhparam.pem 4096

wget -O - https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem > /etc/letsencrypt/certs/example.com/intermediate.pem

openssl req -new -sha256 -key /etc/letsencrypt/certs/example.com/domain.key -subj "/CN=example.com" > /etc/letsencrypt/certs/example.com/domain.csr

python /bin/acme_tiny.py --account-key /etc/letsencrypt/certs/example.com/account.key --csr /etc/letsencrypt/certs/example.com/domain.csr --acme-dir /var/www/challenges > /etc/letsencrypt/certs/example.com/signed.crt

cat /etc/letsencrypt/certs/example.com/signed.crt /etc/letsencrypt/certs/example.com/intermediate.pem > /etc/letsencrypt/certs/example.com/chained.pem
```

# Mode of use<commit_msg>Remove dhparm from the README<commit_after>[![Build Status](https://travis-ci.org/mariano-dagostino/AcmeTinyHelper.svg?branch=master)](https://travis-ci.org/mariano-dagostino/AcmeTinyHelper)

# AcmeTinyHelper

This project is a helper for [acme-tiny.py](https://github.com/diafygi/acme-tiny)
that automate the creation of the files required by letsencrypt and acme-tiny to
get a certificate.

# Example

```./AcmeTinyHelper new --path=/etc/letsencrypt/certs --domains='example.com'```

The result of running this script is:

```
mkdir -p /etc/letsencrypt/certs/example.com

openssl genrsa 4096 > /etc/letsencrypt/certs/example.com/account.key

openssl genrsa 4096 > /etc/letsencrypt/certs/example.com/domain.key

wget -O - https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem > /etc/letsencrypt/certs/example.com/intermediate.pem

openssl req -new -sha256 -key /etc/letsencrypt/certs/example.com/domain.key -subj "/CN=example.com" > /etc/letsencrypt/certs/example.com/domain.csr

python /bin/acme_tiny.py --account-key /etc/letsencrypt/certs/example.com/account.key --csr /etc/letsencrypt/certs/example.com/domain.csr --acme-dir /var/www/challenges > /etc/letsencrypt/certs/example.com/signed.crt

cat /etc/letsencrypt/certs/example.com/signed.crt /etc/letsencrypt/certs/example.com/intermediate.pem > /etc/letsencrypt/certs/example.com/chained.pem
```

# Mode of use
{'fraction_non_alphanumeric': 0.14580369843527738, 'fraction_numerical': 0.00995732574679943, 'mean_word_length': 4.378585086042065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1283862', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1045, 'n_words': 164}