Hi
I ran this command:
$dnsIdentifiers = @("example.com","www.example.com"); # Strings will automatically be converted to AcmeIdentifier
$order = New-ACMEOrder -State $acmeStateDir -Identifiers $dnsIdentifiers;
It produced this output:
Server returned Problem (Status: 400).
Type: urn:ietf:params:acme:error:malformed
JWS verification error
What is the reason for this error?
Maybe because of the example domain?
1 Like
rg305
May 22, 2020, 3:50pm
2
Does it not “error:malformed” with only a single name?
1 Like
It’s the same when i use a single name
rg305
May 22, 2020, 4:04pm
4
Are you using a real domain?
1 Like
No, it is not a real domain
i just want to check my code before i use a real domain
rg305
May 22, 2020, 4:11pm
6
Then check your code against the staging system (not production).
And use a more realistic name (even if not an actual real one).
1 Like
I use LetsEncrypt-Staging
1 Like
rg305
May 22, 2020, 4:14pm
8
Try using a more realistic name.
Say your real domain is:
server.domain.com
Then try:
notserver.domain.com
testserver.domain.com
serverxyz.domain.com
[none of which need to be resolvable - but could be]
1 Like
Thanks, got it
i will do that
2 Likes
rg305
May 22, 2020, 4:29pm
10
I don’t know that that will fix the prblem.
[probably won’t]
But I have to rule it our first.
So, if it doesn’t, then I would suspect that there may be an issue with the “type” and the “value(s)” used by “$dnsIdentifiers” in your code [or localization issue].
For that, I would try a simple set and then print back the value(s) and compare.
1 Like
haviay
May 24, 2020, 10:12pm
11
It is still not working
How do you mean to compare the values?
rg305
May 24, 2020, 10:16pm
12
Well like in any programming language.
You can try setting the variable with a specific single value.
Show/Print it.
Then set it with a multiple entries value.
Show/Print that.
If the output doesn’t equal the set input, then the code has a problem.
haviay
May 24, 2020, 10:22pm
13
I checked and it is equal…What can be the problem?
rg305
May 24, 2020, 10:24pm
14
I don’t have enough information nor (possibly) knowledge of the program you are using to help you any further.
Maybe there is a support page for that client.
system
Closed
June 23, 2020, 10:24pm
15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.