Skip to main content
AEK
SuperUser
SuperUser
Oct 1, 2025 6:44 PM UTC
Question

pkcs7 unwrap error when using scep

Hi FWB/FAC admins

  • FWB 7.4.9
  • FAC 6.4.10

I configured SCEP on FAC and my FGT works well with it.

However my FWB doesn't I get this error when I try to generate CSR: "pkcs7 unwrap error" (screenshot).

FAC says the request was properly received and we can see in Pending status in Enrollment Requests.

FWB doesn't keep the new key following the issue.

 

fwb_scep.png

 

 

Any idea?

7 replies

Anthony_E
Staff
Staff
Oct 4, 2025 6:32 AM UTC

Hello Abdelkrim,

 

I hope you are doing well :)!


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Translate
Best Regards
Anthony_E
Staff
Staff
Oct 7, 2025 6:13 AM UTC

Hello Abdelkrim,

 

We are still looking for someone to help you.

We will come back to you ASAP.


Thanks,

Translate
Best Regards
ebilcari
Staff
Staff
Oct 7, 2025 7:31 AM UTC

Is the enrollment set to automatic or manual and does it include the necessary options in 'Advanced Options: Key Usages'?

Translate
Emirjon
AEK
SuperUser
AEKAuthor
SuperUser
Oct 7, 2025 1:11 PM UTC

Thanks Anthony and Emirjon

 

The enrollment is "Manual and Automatic". I also tested "Automatic" but didn't help.

I didn't touch the options under Key Usages, I just left them with their default values.

I think the issue is not from FAC side because as mentioned above the same SCEP config worked well with my FGT.

Translate
AEK
ebilcari
Staff
Staff
Oct 8, 2025 8:30 AM UTC

I haven't tested with default values, I always put these options manually:
keyUsage:
Digital Signature
extendedKeyUsage:
TLS Web Client Authentication, TLS Web Server Authentication

Translate
Emirjon
lokatmo4
New Member
Oct 7, 2025 1:58 PM UTC

SCEP is much more secure, because the private key is generated on the device. On Windows devices that would be the TPM, on iOS in the Secure Enclave. It never leaves the device. With PKCS the private key goes around a lot more.

Translate
AEK
SuperUser
AEKAuthor
SuperUser
Oct 8, 2025 10:06 PM UTC

Hi Emirjon

Following more tests I could make it work with FWB but only after I manually create the enrollment on FAC. While for FGT the enrollment is automatically created on FAC.

When I try from FWB I get the following error is seen on FAC.

Message      SCEP PKCSReq: error creating a new manual enrollment request

Enrollment method is set to "Manual and Auto".

Translate
AEK
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024