- Only production environment keys, certificates, and tokens from KSeF should be used in the production environment.
- Using test environment elements in production will cause technical errors.
- Production and test environments are logically and technically separated.
- Encryption and authentication in KSeF 2.0 must use the production public key and production-issued tokens/certificates.
- Production cryptographic keys are available at ksef.mf.gov.pl.
Source: gov.pl
Note that this post was (partially) written with the help of AI. It is always useful to review the original source material, and where needed to obtain (local) advice from a specialist.














