A
A
Anton Misyagin2017-04-20 13:15:04
Digital certificates
Anton Misyagin, 2017-04-20 13:15:04

How to get a certificate from Let's Encrypt for a Russian domain?

Asked the question a year ago. There were questions about obtaining a certificate for a Russian-language domain.
Where can I get an ssl certificate for a domain im... . The solution to this issue was a certificate from the Chinese brothers Wosign for two years, in my opinion, which successfully helped draw a green lock for about a year. But recently a surprise came and chrome refused my certificate, now I, thirsty for freebies, have returned to let's encrypt to get the coveted free key.

sudo certbot-auto certonly -a webroot --webroot-path=/var/www/shared/public -d xn----8sb1araehjchf.xn--p1ai

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for xn----8sb1araehjchf.xn--p1ai
Using the webroot path /var/www/shared/ public for all unmatched domains.
Waiting for verification...
Cleaning up challenges
An unexpected error occurred:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 117-118: ordinal not in range(128)

Please see the logfiles in /var/log/letsencrypt for more details.

Who made this mistake?
There are nginx, passenger, rails 4. If I manually create a ..../public/.well-known/acme-challenge folder with a file inside, then it is available via https. Or should I disable the http to https redirect for this procedure? Or is this error not related to this, or does the file send the rail in the wrong encoding, or what else can it be)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Misyagin, 2017-04-21
@sunnmas

Or should I disable the http to https redirect for this procedure?

E
e-hot, 2017-05-03
@e-hot

If there are several different domains on the server (on the same IP) (do not confuse domen.rf with www.domen.rf), will it be necessary to make a separate certificate for each individual domain, or will it be necessary to register several different domains from one IP in one certificate? Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question