Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Properties of a timestamp keystore crypto worker.
- #
- # Type of worker
- WORKERGENID1.TYPE=CRYPTO_WORKER
- # This worker will not perform any operations on its own and indicates this by
- # using the worker type CryptoWorker
- WORKERGENID1.IMPLEMENTATION_CLASS=org.signserver.server.signers.CryptoWorker
- # Uses a soft keystore:
- WORKERGENID1.CRYPTOTOKEN_IMPLEMENTATION_CLASS=org.signserver.server.cryptotokens.KeystoreCryptoToken
- # Name for other workers to reference this worker:
- WORKERGENID1.NAME=CryptoTokenP12TimeStamp
- # Type of keystore
- # PKCS12 and JKS for file-based keystores
- # INTERNAL to use a keystore stored in the database (tied to the crypto worker)
- WORKERGENID1.KEYSTORETYPE=PKCS12
- #WORKERGENID1.KEYSTORETYPE=JKS
- #WORKERGENID1.KEYSTORETYPE=INTERNAL
- # Path to the keystore file (only used for PKCS12 and JKS)
- WORKERGENID1.KEYSTOREPATH=C:\\signserver\\conf\\CertificateTimeStamp.p12
- # Optional password of the keystore. If specified the token is "auto-activated".
- #WORKERGENID1.KEYSTOREPASSWORD=foo123
- # Optional key to test activation with. If not specified the first key found is
- # used.
- #WORKERGENID1.DEFAULTKEY=testKey
- # Properties of a PDF Signer keystore crypto worker.
- #
- # Type of worker
- WORKERGENID1.TYPE=CRYPTO_WORKER
- # This worker will not perform any operations on its own and indicates this by
- # using the worker type CryptoWorker
- WORKERGENID1.IMPLEMENTATION_CLASS=org.signserver.server.signers.CryptoWorker
- # Uses a soft keystore:
- WORKERGENID1.CRYPTOTOKEN_IMPLEMENTATION_CLASS=org.signserver.server.cryptotokens.KeystoreCryptoToken
- # Name for other workers to reference this worker:
- WORKERGENID1.NAME=CryptoTokenP12PdfSigner
- # Type of keystore
- # PKCS12 and JKS for file-based keystores
- # INTERNAL to use a keystore stored in the database (tied to the crypto worker)
- WORKERGENID1.KEYSTORETYPE=PKCS12
- #WORKERGENID1.KEYSTORETYPE=JKS
- #WORKERGENID1.KEYSTORETYPE=INTERNAL
- # Path to the keystore file (only used for PKCS12 and JKS)
- WORKERGENID1.KEYSTOREPATH=C:\\signserver\\conf\\CertificatePDFSigner.p12
- # Optional password of the keystore. If specified the token is "auto-activated".
- #WORKERGENID1.KEYSTOREPASSWORD=foo123
- # Optional key to test activation with. If not specified the first key found is
- # used.
- #WORKERGENID1.DEFAULTKEY=testKey
- # Properties of a TimeStampSigner.
- #
- ## General properties
- WORKERGENID1.TYPE=PROCESSABLE
- WORKERGENID1.IMPLEMENTATION_CLASS=org.signserver.module.tsa.TimeStampSigner
- WORKERGENID1.NAME=TimeStampSigner
- # Authentication. One of NOAUTH, CLIENTCERT, org.signserver.server.UsernamePasswordAuthorizer, org.signserver.server.UsernameAuthorizer
- WORKERGENID1.AUTHTYPE=NOAUTH
- # Crypto token
- WORKERGENID1.CRYPTOTOKEN=CryptoTokenP12
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11NG1
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11NG1KeyWrapping
- # Using key from sample keystore
- WORKERGENID1.DEFAULTKEY=ts00003
- # Key using ECDSA
- #WORKERGENID1.DEFAULTKEY=ts00002
- # Check validity period of the certificate will be verified before processing. Default true.
- #WORKERGENID1.CHECKCERTVALIDITY=true
- # Check validity of the PrivateKeyUsagePeriod in the certificate will be verified before processing if it is present. Default true.
- #WORKERGENID1.CHECKCERTPRIVATEKEYVALIDITY=true
- # Check the minimum remaining days of the signing certificate before expiration. 0 means disable. Default 0.
- #WORKERGENID1.MINREMAININGCERTVALIDITY=0
- # Sets how many signatures that are allowed to be created with the same key by this worker. Default is -1 (no limit).
- # The counter is per key so if multiple workers share the same key they will all increment the counter.
- #WORKERGENID1.KEYUSAGELIMIT=-1
- ## Archiving properties
- # Using the base 64 archiver
- #WORKERGENID1.ARCHIVERS=org.signserver.server.archive.base64dbarchiver.Base64DatabaseArchiver
- # Using the old database archiver
- #WORKERGENID1.ARCHIVERS=org.signserver.server.archive.olddbarchiver.OldDatabaseArchiver
- # Archiving only requests
- #WORKERGENID1.ARCHIVER0.ARCHIVE_OF_TYPE=REQUEST
- # Archiving only responses
- #WORKERGENID1.ARCHIVER0.ARCHIVE_OF_TYPE=RESPONSE
- # Archiving both requests and responses
- #WORKERGENID1.ARCHIVER0.ARCHIVE_OF_TYPE=REQUEST_AND_RESPONSE
- # Store forwarded address (from the X-Forwarded-For header) as the request address
- #WORKERGENID1.ARCHIVER0.USE_FORWARDED_ADDRESS=true
- # Include additional forwarded addresses (apart from the last), only applies if the property above is set
- #WORKERGENID1.ARCHIVER0.MAX_FORWARDED_ADDRESSES=3
- # Included direct (non-forwarded address) at the end of forwarded addresses
- #WORKERGENID1.ARCHIVER0.INCLUDE_DIRECT_ADDRESS=true
- ## TSA properties
- # Required. The default policy ID of the time stamp authority. If no policy OID is specified in the request then will this value be used.
- WORKERGENID1.DEFAULTTSAPOLICYOID=1.3.6.1.4.1.22408.1.2.3.45
- # Recommended. A ';' separated string containing accepted algorithms, can be null if it shouldn't be used.
- # Supported Algorithms are: GOST3411, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD128, RIPEMD160, RIPEMD256
- #WORKERGENID1.ACCEPTEDALGORITHMS=SHA1;SHA224;SHA256;SHA384;SHA512
- # Recommended. A ';' separated string containing accepted policies, can be null if it shouldn't be used.
- #WORKERGENID1.ACCEPTEDPOLICIES=1.3.6.1.4.1.22408.1.2.3.45;1.3.6.1.4.1.22408.1.2.3.46
- # Accept any requested policy (must be set if not setting ACCEPTEDPOLICIES)
- # can optionally be set to false or empty value when setting ACCEPTEDPOLICIES for clarity
- WORKERGENID1.ACCEPTANYPOLICY=true
- #WORKERGENID1.ACCEPTANYPOLICY=false
- #WORKERGENID1.ACCEPTANYPOLICY=
- # Optional. A ';' separated string containing accepted extensions, can be null if it shouldn't be used.
- #WORKERGENID1.ACCEPTEDEXTENSIONS=
- # Optional. Class implementing the ITimeSource.
- #WORKERGENID1.TIMESOURCE=org.signserver.server.LocalComputerTimeSource
- # Optional. The signature algorithm to use.
- #WORKERGENID1.SIGNATUREALGORITHM=SHA256WithRSA
- # Optional. Accuracy defines how good the time source is. Only one of the accuracy properties should be set.
- #WORKERGENID1.ACCURACYMICROS=500
- #WORKERGENID1.ACCURACYMILLIS=500
- #WORKERGENID1.ACCURACYSECONDS=1
- # Optional. The GeneralName of the Time Stamp Authority.
- #WORKERGENID1.TSA=CN=...
- # Optional. Set the GeneralName of the Time Stamp Authority from the subject DN of the signing
- # certificate. This can not be set if the TSA property above is set
- #WORKERGENID1.TSA_FROM_CERT=true
- # Optional. Perform an extra check that the SIGNERCERTCHAIN only contains certificates in the chain of the signer certificate
- #WORKERGENID1.REQUIREVALIDCHAIN=true
- # The maximum size (in bytes) used when generating serial numbers (default 8)
- #WORKERGENID1.MAXSERIALNUMBERLENGTH=16
- # Optional. Specifies if the status string is to be included in the response. Setting this to true triggers a bug in some versions of OpenJDK's jarsigner utility. Default true.
- #WORKERGENID1.INCLUDESTATUSSTRING=false
- # Optional. Specifies if the signingTime signed CMS attribute should be included in the response. Default true.
- #WORKERGENID1.INCLUDESIGNINGTIMEATTRIBUTE=false
- # If the key usage counter is disabled
- WORKERGENID1.DISABLEKEYUSAGECOUNTER=true
- # Whether timestamp token signature is to be validated after signing. Default true.
- WORKERGENID1.VERIFY_TOKEN_SIGNATURE=true
- #WORKERGENID1.VERIFY_TOKEN_SIGNATURE=
- #WORKERGENID1.VERIFY_TOKEN_SIGNATURE=false
- # Properties of a PDFSigner
- #
- ## General properties
- WORKERGENID1.TYPE=PROCESSABLE
- WORKERGENID1.IMPLEMENTATION_CLASS=org.signserver.module.pdfsigner.PDFSigner
- WORKERGENID1.NAME=PDFSigner
- WORKERGENID1.AUTHTYPE=NOAUTH
- # Crypto token
- WORKERGENID1.CRYPTOTOKEN=CryptoTokenP12PdfSigner
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP12new
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11NG1
- #WORKERGENID1.CRYPTOTOKEN=CryptoTokenP11NG1KeyWrapping
- # Using key from sample keystore
- WORKERGENID1.DEFAULTKEY=signer00003
- # Key using ECDSA
- #WORKERGENID1.DEFAULTKEY=signer00002
- ## PDFSigner properties
- #--------------------------SIGNATURE PROPERTIES--------------------------------------#
- # specify reason for signing. it will be displayed in signature properties when viewed
- # default is "Signed by SignServer"
- #WORKERGENID1.REASON=Signed by SignServer
- WORKERGENID1.REASON=Signed by SignServer
- # specify location. it will be displayed in signature properties when viewed
- # default is "SignServer"
- #WORKERGENID1.LOCATION=SignServer
- WORKERGENID1.LOCATION=SignServer
- # digest algorithm used for the message digest and signature (this is optional and defaults to SHA256)
- # the algorithm determines the minimum PDF version of the resulting document and is documented in the manual.
- # for DSA keys, only SHA1 is supported
- WORKERGENID1.DIGESTALGORITHM=SHA256
- #WORKERGENID1.DIGESTALGORITHM=SHA1
- #--------------------------SIGNATURE VISIBILITY--------------------------------------#
- # if we want the signature to be drawn on document page set ADD_VISIBLE_SIGNATURE to True , else set to False
- # default is "False"
- #WORKERGENID1.ADD_VISIBLE_SIGNATURE = False
- WORKERGENID1.ADD_VISIBLE_SIGNATURE = True
- # specify the page on which the visible signature will be drawn
- # this property is ignored if ADD_VISIBLE_SIGNATURE is set to False
- # default is "First"
- # possible values are :
- # "First" : signature drawn on first page of the document,
- # "Last" : signature drawn on last page of the document,
- # page_number : signature is drawn on a page specified by numeric argument. If specified page number exceeds page count of the document ,signature is drawn on last page
- # if page_number specified is not numeric (or negative number) the signature will be drawn on first page
- WORKERGENID1.VISIBLE_SIGNATURE_PAGE = 2
- # specify the rectangle signature is going to be drawn in
- # this property is ignored if ADD_VISIBLE_SIGNATURE is set to False
- # default is "400,700,500,800"
- # format is : (llx,lly,urx,ury). Here llx =left lower x coordinate, lly=left lower y coordinate,urx =upper right x coordinate, ury = upper right y coordinate
- WORKERGENID1.VISIBLE_SIGNATURE_RECTANGLE = 500,675,560,775
- # if we want the visible signature to contain custom image , specify image as base64 encoded byte array
- # alternatively custom image can be specified by giving a path to image on file system
- # note : if specifying a path to an image "\" should be escaped ( thus C:\photo.jpg => "C:\\photo.jpg" )
- # note : if specifying image as base64 encoded byte array "=" should be escaped (this "BBCXMI==" => "BBCXMI\=\=")
- # if both of these properties are set then VISIBLE_SIGNATURE_CUSTOM_IMAGE_BASE64 will take priority
- # if we do not want this feature then do not set these properties
- # default is not set (no custom image)
- # these properties are ignored if ADD_VISIBLE_SIGNATURE is set to False
- #WORKERGENID1.VISIBLE_SIGNATURE_CUSTOM_IMAGE_BASE64=
- WORKERGENID1.VISIBLE_SIGNATURE_CUSTOM_IMAGE_PATH=C:\\signserver\\conf\\picture.png
- # if we want our custom image to be resized to specified rectangle (set by VISIBLE_SIGNATURE_RECTANGLE) then set to True.
- # if set to True image might look different that original (as an effect of resizing)
- # if set to False the rectangle drawn will be resized to specified image's sizes.
- # if set to False llx and lly coordinates specified by VISIBLE_SIGNATURE_RECTANGLE property will be used for drawing rectangle (urx and ury will be calculated from specified image's size)
- # this property is ignored if ADD_VISIBLE_SIGNATURE is set to False or if custom image to use is not specified
- # default is True
- WORKERGENID1.VISIBLE_SIGNATURE_CUSTOM_IMAGE_SCALE_TO_RECTANGLE = False
- # to create a certifying signature that certifies the document set the CERTIFICATION_LEVEL
- # possible values are: NOT_CERTIFIED, FORM_FILLING, FORM_FILLING_AND_ANNOTATIONS or NO_CHANGES_ALLOWED
- # default is NOT_CERTIFIED
- # WORKERGENID1.CERTIFICATION_LEVEL=NOT_CERTIFIED
- #--------------------------SIGNATURE TIMESTAMPING--------------------------------------#
- # if we want to timestamp document signature, specify timestamp authority url, if required bu tsa uncomment tsa username and password lines and specify proper values
- # if we do not want to timestamp document signature , do not set property
- # Worker ID or name of internal timestamp signer in the same SignServer
- # Default: none
- WORKERGENID1.TSA_WORKER=TimeStampSigner
- # URL of external timestamp authority
- # note : if path contains characters "\" or "=" , these characters should be escaped (thus "\" = "\\", "=" =>"\=")
- # default is not set (no timestamping)
- # WORKERGENID1.TSA_URL =
- #WORKERGENID1.TSA_URL=http://tsa.example.com:8080/signserver/tsa?workerName\=TSA
- # if tsa requires authentication for timestamping , specify username and password
- # if tsa does not require authentication, do not set these properties
- # these properties are ignored if TSA_URL is not set (no timestamping)
- # default is not set (tsa does not require authentication)
- #WORKERGENID1.TSA_USERNAME=
- #WORKERGENID1.TSA_PASSWORD=
- # Digest algorithm used for timestamps
- # Default: SHA-256
- #WORKERGENID1.TSA_DIGESTALGORITHM=
- #--------------------------EXTRA PROPERTIES [NOT TESTED YET]--------------------------------------#
- #if we want to embed the crl for signer certificate inside the signature package set to True, otherwise set to False
- #default is False
- #WORKERGENID1.EMBED_CRL = False
- #if we want to embed the ocsp response for signer certificate inside the signature package set to True, otherwise set to False
- #note : issuer certificate (of signing certificate) should be in certificate chain.
- #default is False
- #WORKERGENID1.EMBED_OCSP_RESPONSE = False
- # If the key usage counter is disabled
- WORKERGENID1.DISABLEKEYUSAGECOUNTER=true
Add Comment
Please, Sign In to add comment