# FortiOS 7.2 - Error (No order for ID X)

**URL:** <https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416>\
**Category:** Help\
**Created:** [September 19, 2023, 8:20pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416 "2023-09-19T20:20:47Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nlacey210](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nlacey210](https://community.letsencrypt.org/u/nlacey210)\
**Post date:** [September 19, 2023, 8:20pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/1 "2023-09-19T20:20:47Z")

</div>

The operating system my web server runs on is (include version): FortiOS 7.2

Yesterday one of our client's Fortigate firewalls could not renew the certificate with the comment "Error (No order for ID %idnumber%)" and Fortinet support says the issue is on the Let's Encrypt side. My question is if anybody can help me determine if this will happen again and/or how to prevent it. Any information is helpful and thank you.

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [September 19, 2023, 9:29pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/2 "2023-09-19T21:29:46Z")

</div>

It looks like there is nowhere near enough info to diagnosticate this.

> [@nlacey210](#):
>
> Fortigate says the issue is on the Let's Encrypt side

This is almost never the case.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [September 19, 2023, 9:34pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/3 "2023-09-19T21:34:06Z")

</div>

I saw your domain name before your removed it from your post

A test HTTP Challenge is redirected to a port number which is not allowed by ACME protocol.

Are you using the HTTP Challenge?

```plaintext
curl -I [redacted]/.well-known/acme-challenge/Test123

HTTP/1.1 307 Temporary Redirect
Date: Tue, 19 Sep 2023 21:31:53 GMT
Server: xxxxxxxx-xxxxx
Location: https://[redacted]:4443/.well-known/acme-challenge/Test123

```

Note the many 'x's for the Server header are exactly as returned by your domain. I did not modify that line at all.

Without knowing the real domain this kind of problem is very difficult to debug.

See redirection rules here

> **[Challenge Types - Let's Encrypt](https://letsencrypt.org/docs/challenge-types/#http-01-challenge)**
>
> When you get a certificate from Let’s Encrypt, our servers validate that you control the domain names in that certificate using “challenges,” as defined by the ACME standard. Most of the time, this validation is handled automatically by your ACME...

---

<div class="post-metadata">

**Author:** ![nlacey210](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nlacey210](https://community.letsencrypt.org/u/nlacey210)\
**Post date:** [September 19, 2023, 10:08pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/4 "2023-09-19T22:08:24Z")

</div>

Sorry I am willing to try whatever I just didn't want to put our client's domain information here. I am a jr. engineer and trying to understand where this issue lies. It seems to me its the way Fortinet handles the chain of authority w/ Let's Encrypt. I doubt Ill be able to get Fortigate to fix this from must my support ticket.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [September 19, 2023, 10:26pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/5 "2023-09-19T22:26:11Z")

</div>

There was a cert for that domain issued Sep18 and it is being used for HTTPS on port 4443

HTTPS on port 443, on the other hand, returns a self-signed Fortinet cert. Maybe that's intentional I don't know

The place to start is knowing what kind of ACME challenge is used - HTTP, DNS or TLS-ALPN. We can't tell that from what you've given. I'm not sure what you mean by Fortinet mis-handling the chain of authority.

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [September 19, 2023, 10:44pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/6 "2023-09-19T22:44:51Z")

</div>

From @MikeMcQ post I understand that you currently redirect port 80 to port 4443. That doesn't work if you want to use http validation. You can only redirect to to 80 or 443.

The advice is to perform validation on 80, usually.

---

<div class="post-metadata">

**Author:** ![mcpherrinm](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mcpherrinm/32/59604_2.png) [@mcpherrinm](https://community.letsencrypt.org/u/mcpherrinm)\
**Post date:** [September 19, 2023, 11:35pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/7 "2023-09-19T23:35:21Z")

</div>

If an order is missing, it is possible they're hitting "the 404 bug": [Reduce inaccurate 404s by adding structure to ACME object URLs · Issue #6549 · letsencrypt/boulder · GitHub](https://github.com/letsencrypt/boulder/issues/6549)

Simply retrying will usually help.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [September 20, 2023, 12:41am UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/8 "2023-09-20T00:41:01Z")

</div>

> [@nlacey210](#):
>
> FortiOS 7.2

What are the full version numbers?

---

<div class="post-metadata">

**Author:** ![nlacey210](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nlacey210](https://community.letsencrypt.org/u/nlacey210)\
**Post date:** [September 20, 2023, 3:35pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/9 "2023-09-20T15:35:36Z")

</div>

FortiGate 7.2.5,build1517 (GA) (Feature)

---

<div class="post-metadata">

**Author:** ![nlacey210](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nlacey210](https://community.letsencrypt.org/u/nlacey210)\
**Post date:** [September 20, 2023, 3:45pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/10 "2023-09-20T15:45:53Z")

</div>

Okay the way I understand this is that since we are redirecting our [vpn.domain.com](http://vpn.domain.com) forward to a non-80 or 443 port the cert doesn't get proper communication w/ Let's Encrypt and can cause an error w/ renewal? Sorry if I sound dumb both the problem and my understanding of how certificates work is all new to me right now.

---

<div class="post-metadata">

**Author:** ![jvanasco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jvanasco/32/55900_2.png) [@jvanasco](https://community.letsencrypt.org/u/jvanasco)\
**Post date:** [September 20, 2023, 4:20pm UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/11 "2023-09-20T16:20:28Z")

</div>

> [@nlacey210](#):
>
> Okay the way I understand this is that since we are redirecting our [vpn.domain.com](http://vpn.domain.com) forward to a non-80 or 443 port the cert doesn't get proper communication w/ Let's Encrypt and can cause an error w/ renewal?

Yes. If these domains are on the same machine or in the same data center, you can do a proxypass instead of a redirect to get around that issue.

Edit: You can use this technique if the domains are anywhere, but having them on the same machine or network is substantially easier.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [September 21, 2023, 12:24am UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/12 "2023-09-21T00:24:24Z")

</div>

> [@nlacey210](#):
>
> we are redirecting our [vpn.domain.com](http://vpn.domain.com) forward

How exactly?  
If you are to get a cert for the firewall, HTTP must reach the firewall on the IP of the FQDN requested.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [October 21, 2023, 12:24am UTC](https://community.letsencrypt.org/t/fortios-7-2-error-no-order-for-id-x/205416/13 "2023-10-21T00:24:46Z")

</div>

Closed on October 21, 2023, 12:24am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
