Skip to main content
AEK
SuperUser
SuperUser
October 1, 2025
Question

pkcs7 unwrap error when using scep

  • October 1, 2025
  • 7 replies
  • 904 views

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
October 4, 2025

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,

Best Regards
Anthony_E
Staff
Staff
October 7, 2025

Hello Abdelkrim,

 

We are still looking for someone to help you.

We will come back to you ASAP.


Thanks,

Best Regards
ebilcari
Staff
Staff
October 7, 2025

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

Emirjon
AEK
SuperUser
AEKAuthor
SuperUser
October 7, 2025

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.

AEK
ebilcari
Staff
Staff
October 8, 2025

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

Emirjon
lokatmo4
New Member
October 7, 2025

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.

AEK
SuperUser
AEKAuthor
SuperUser
October 8, 2025

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".

AEK
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!