Skip to content
Last updated

SWS Firewall Rules Documentation

Table of Contents

Introduction

The communications required (firewall rules) to enable SWS operations depend on the type of operation performed:

  • Make digital signatures (PAdES, CAdES, XAdES)
  • Apply timestamp
  • Verify digital signatures, timestamps and certificates

INBOUND Firewall Rules

To allow SWS to be contacted and used, the following rule must be enabled.

ProtocolPortTCP/UDPEnvironment
HTTP8080TCPTEST, PROD

OUTBOUND Firewall Rules

Digital Signatures

Level B Signatures

The following communications are required.

OperationDescriptionProtocolPortTCP/UDPAddressEnvironment
SignatureSends a request to the Namirial server for signing the hashHTTPS443TCPfra.test.firmacerta.it

fra.firmacerta.it
TEST

PROD
Retrieve a list of trusted certificatesUsed to download all trusted root certificatesHTTPS443TCPswsverifier.test.namirialtsp.com

swsverifier.namirialtsp.com
TEST

PROD

NOTE: Communications are protected by mTLS (mutual authentication).

Level T Signatures

Requires the same communications as Level B plus timestamp service.

OperationDescriptionProtocolPortTCP/UDPAddressEnvironment
TimestampSends request to Namirial server to apply timestamp to hashHTTPS443TCPtimestamp.test.firmacerta.it

timestamp.firmacerta.it
TEST

PROD

Level LTV Signatures

Requires the same communications as Level B plus certificate validation services.

OperationDescriptionProtocolPortsTCP/UDPAddressEnvironment
Verification using OCSPFor validate the certificate send request to OCSP for check the certificateOCSP80TCPocsp.test.firmacerta.it
ocsp.test.namirialtsp.com

ocsp.firmacerta.it
ocsp.namirialtsp.com
TEST

PROD
Validation using CRLFor validate the signature certificate check the serial number into CRLHTTP80TCPcrl.test.firmacerta.it
crl.test.namirialtsp.com

crl.firmacerta.it
crl.namirialtsp.com
TEST

PROD

For level LT signatures, the comunications required are all above and VERY IMPORTANT → if you are signing file already signed from thirdparty company, the comunication outgoing, must be opened worldwide (because is not possible to know the CRL/OCSP endpoint of all CA and they can change also)

OUTBOUND Firewall Rules -- Apply Timestamp

Use the same firewall rules required for:

  • Level B signatures
  • Level T signatures

OUTBOUND Firewall Rules -- Verify Signatures

To verify:

  • Digital signatures
  • Timestamps
  • Certificates

Use the same rules required for Level B signatures.