Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDN]Error parsing certificate request: x509: SAN dNSName is malformed #3845

Closed
cherinyy opened this issue Dec 7, 2021 · 7 comments
Closed

Comments

@cherinyy
Copy link

cherinyy commented Dec 7, 2021

Steps to reproduce

Debug log

docker exec acme.sh --issue --dns dns_dp --debug 2  \
  --server letsencrypt_test  \
  --keylength ec-384 --ocsp \
  -d 清靈語.中国 -d *.清靈語.中国  \
  -d 清靈語.中國 -d *.清靈語.中國  \
  -d 清灵语.中国 -d *.清灵语.中国  \
  -d 清灵语.中國 -d *.清灵语.中國
@vitaly80
Copy link
Contributor

vitaly80 commented Dec 22, 2021

Same! Error start 21 november 2021!

Sign failed, finalize code is not 200. [Sun Nov 21 12:40:34 MSK 2021] { "type": "urn:ietf:params:acme:error:malformed", "detail": "Error parsing certificate request: x509: SAN dNSName is malformed", "status": 400 }

Punicode domains works fine!!! But I can't use punicode with wildcard domains!

Neilpang added a commit that referenced this issue Jan 8, 2022
@Neilpang
Copy link
Member

Neilpang commented Jan 8, 2022

fixed, please try with the latest dev branch.

acme.sh  --upgrade  -b dev

@cherinyy
Copy link
Author

cherinyy commented Jan 8, 2022

fixed, please try with the latest dev branch.

acme.sh  --upgrade  -b dev

非常感谢,不过似乎还是遇到了问题:idn: could not convert from ANSI_X3.4-1968 to UTF-8

acme.sh --issue --dns dns_dp  \
  --server letsencrypt_test  \
  -k ec-384 --ocsp --debug 2  \
  -d 清靈語.中国 -d *.清靈語.中国

@Neilpang
Copy link
Member

Neilpang commented Jan 8, 2022

你这个域名在我这没有问题.

貌似是因为你的terminal encoding 问题.
https://stackoverflow.com/questions/48743106/whats-ansi-x3-4-1968-encoding

在你的 terminal 尝试这个命令:

idn  清靈語.中国

看看能成功不.

@cherinyy
Copy link
Author

cherinyy commented Jan 8, 2022

你这个域名在我这没有问题.

貌似是因为你的terminal encoding 问题. https://stackoverflow.com/questions/48743106/whats-ansi-x3-4-1968-encoding

在你的 terminal 尝试这个命令:

idn  清靈語.中国

看看能成功不.

噢是我犯病了,我是在初始的 debian 容器里测试的,想拿容器当即丢的虚拟机来用,忘了配置环境(

@cherinyy
Copy link
Author

cherinyy commented Jan 8, 2022

fixed in e67d26c

@cherinyy cherinyy closed this as completed Jan 8, 2022
@vitaly80
Copy link
Contributor

Thanks, but all of my domains going to idn(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants