Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Frigg and braga use a configuration file (config.ini) with which is loaded at startup.

...

keyexampledescriptionfriggbraga
database_host192.168.5.57the database host (IP or hostname)XX
database_jndijava:comp/env/jdbc/FriggDbthe jndi database sourceXX
database_masterfrigg_masterName of the master database, which manages sequences and tenants in multitenant mode. Default: frigg_masterXX
database_migrate

true/false

true or false. If true, flyway database management is activatedX
database_namefriggthe database schema nameXX
database_passwordkjssdduiwe832//6?!the database passwordXX
database_port
1521the database portXX
database_service_name 
FRIGGthe database service name (for Oracle connection)XX
database_sid
xethe database SID (for Oracle connection)XX
database_typemysqlmysql or oracle, the database type (default mysql)XX
database_userdbuserthe database userXX
db_pool_max_wait_millissoll hinzugefügt werden?5000specifies the maximum time in milliseconds that the connection pool should wait for a connection to be returned before throwing an exception. The default value is 5000.XX
db_pool_max_totalsoll hinzugefügt werden?100specifies the maximum number of connections that the database pool can have simultaneously open. The default is 100.XX
db_pool_max_idlesoll hinzugefügt werden?20specifies the maximum number of idle database connections to be maintained in the pool at any given time. The default value is 20.XX
db_pool_min_idlesoll hinzugefügt werden?5specifies the minimum number of idle connections that should be maintained in the connection pool. This property is used to ensure that a sufficient number of connections are available in the pool at all times. Default is 5.XX
db_pool_max_conn_lifetime_millissoll hinzugefügt werden?600000specifies the maximum lifetime of a database connection in the connection pool. Default is 60000.XX
deactivate_db_pingtruetrue or false, deactivates validation check for the db connection (default false)XX
storage_db_init_directory



...

For additional Email configuration see i) MailerEmail Configuration

SMS provider is www.massenversand.de . The sms are used for sending adhoc-viewer links and user verification.

...

keyexampledescriptionfriggbraga
admin_email_notifiersomebody@host.com;someoneelse@host.coma list of recipients who are informed when accounts are charged with help of the admin functions or when user bought creditsX
emailExcludedTypessignature_request_finishedList of mailtypes which are excluded. See i) MailerEmail Configuration for details.X
emailFromsystem@webSignatureOffice.comthe from mail header added to emails sent by the systemX
emailPort25the smtp portX
emailHtmlOnlytrueOnly send html mail (no text mail). Default is true.X
emailRetries5how many times the mailer retries to sent an emailX
emailSendToRegisteredUsersuser_finised;signature_field_signed

Semicolon seperated list of mailtypes. If a mailtype is present in the list, the email will be send to all registered users of the signature request. If it is not present, the email will only be send to the signature request creator.

Possible mailtypes:

  • signature_field_signed
  • signature_field_rejected
  • user_finished
  • envelope_user_finished

Default: Only creator receives email.

X
emailSmtphostname.domain or "false"the smtp server used to sent mails. If set to "false", sending mails will be deactivated entirely.X
emailSmtpPasswordpasswordthe smtp server passwordX
emailSmtpUsersmtpuserthe login for the smtp serverX
emailTlsfalsetrue or false, enable or disable TLS (encryption)X
guest_email
guest@websignatureoffice.comthe email pattern for guest email addresses (default guest@websignatureoffice.com)X
invoice_mail_recipientssomebody@host.com;someoneelse@host.coma list of recipients who receive a copy of all invoices created by the system (for credit purchase)X
mail_passwordoekopostpasswordthe password for the mail verification account (https://www.oekopost.de/developer/)X
mail_useroekopostuserthe user for the mail verification account (https://www.oekopost.de/developer/)X
oekopost_testtrueIf present, mail verification will be simulated by email.

smsPasswordsmspasswordthe sms account password (for the sms delivery feature) (www.massenversand.de)X
smsSenderstepoverthe name displayed as sms sender (for the sms delivery feature)X
smsUserId / authToken4327634 / 1ED33261VI0I6659347456Bthe sms account user id or authToken (for the sms delivery feature)X
sms_token_characters

the characters used in a sms token. possible values:

  • numerical: just numbers
  • alphanumerical: capital letters and numbers
  • alphanumercical_casesensetive: Uppercase, lowercase letters and numbers.


sms_token_length
The length of the sms token when opening a sms protected document / envelope.

support_emailsupport@websignatureoffice.comthe email address for support notifications / inquiries. Contains a semicolon seperated list of email addresses.X
userBrandingSupportMailde"de" or "us". The language of the support mail, which will be sent to the email addresses defined in support_email. Additionally a copy of the support mail will be sent to the user.X

...

Certificates, Seals and signing

Keys that contain "aws_kms" refer to Amazon Web Services (AWS) Key Management Service.

keyexampledescriptionfriggbraga
api_id_ivghksau981ghksau9a secure random iv is created and stored in the db on server startup (recommended). This value is used for url data encryption. This mechanism can be overridden by setting a static 16 character long string. When used api_id_key also has to be set. X
api_id_keyzeuwipahsjd6389aa secure random key is created and stored in the db on server startup (recommended). This value is used for url data encryption. This mechanism can be overridden by setting a static 16 character long string. When used api_id_iv also has to be set. X
app_signature_certificate_filenamed:\frigg\data\app_signature_public.derthe certificate path for the app signature with token authentication
X
app_signature_certificate_passworddsf433dreE&%the certificate password for the app signature with token authentication
X

app_signature_certificate_private_key_filename

d:\frigg\data\app_signature_certificate.pfxthe certificate private key path for the app signature with token authentication
X
enduser_certificate_duration36the lifetime of user certificates in months
X
enduser_certificate_key_length2048the length of the create user certificates
X
external_certificate_providernebulasemicolon seperated list of external certificate providers. currently supported: nebula (nebulaSUITE)X
guest_certificate_passwordkkwJk34$ldP%the guest certificate password (for non-registered webSignatureOffice user certificates)XX
intermediate_certificate_filename/frigg/data/cert.pemthe full path to the intermediate certificate for user certificate creation
X
intermediate_certificate_passwordsduiSUm7$%&hJthe intermediate certificate password
X
intermediate_certificate_private_key_filename/frigg/data/cert_private.pemthe full path to the internmediate certificate private key
X
nebula_exclude_authenticatorsMAIL;SMSsemicolon seperated list of authentication methods. The listed methods won't be usable. Default: All methods allowed.X
notaryInfo\n======================( NotaryInfo )====================== \n \nSomebody the notary info added to a biometric signatureX
notary_public_key

dshkskdhNSSKhjadsbndskKJHKHSAK \
DGHgdhjdsgJHDDSHJGdshdshdJDHDSJH \

the public key base64 encoded that is assigned new registered users. This key is used by the web signature office apps and HTML-Signer.

for more information see Notary Key

X
notary_public_key_hashdskhdksjhds89s8djdshkjhsd7987987dsdssd

deprecated

a md5 hash of the public key

X
notary_sha1_fingerprintdgdfgdfgffffffffffffffffffffffffffffffff

a sha1 hash of the certificate of the notary_public_key. It is configured in braga and used to check if the certificate configured in frigg coresponds to the hash.

for more information see Notary Key


X
openssl_run_directoryc:/tempthe path to a folder in which openssl can run
X
rsa_encryptor_access_allowhttps://somehost.stpover.de if the rsa encryptor is accessed from a host that gets blocked because of cors, or access should be restricted, the Access-Control-Allow-Origin header can be set with this value, default is *.

rsa_encryptor_public_key

deprecated

Public key for the RSA encryptor for encrypting biodata.

If not present, the notary_public_key is used.

for more information see Notary Key


X
rsa_encryptor_urlhttps://host:8444/RsaEncryptor/encode

deprecated

the url of the RSA encryptor used by the html signer, if no value is set the default RSA encryptor of the frigg module is taken

X
tsaServerhttp://somehost.de/tsaThe Timestamp Authority Server used to set the signing time, braga. If not set, no timestamp 

...

keyexampledescriptionfriggbraga
api_deactivate_request_signaturetrue/false

If true, no X-SOSIGNATURE header is necessary.

Only for testing!



api_id_cache_expire_minutes15the decrypted ids are kept in a cache to improve performance. This defines the time till the value expires, default is 10 minutesX
api_id_cache_max_size5000the decrypted ids are kept in a cache to improve performance. This defines the maximum capacity, if reached values are removed, default 1000

axis_request_timeout


deprecated

the braga request timeout in milliseconds (default 240000)

X
axis_server_context/bragaThe folder inside which the braga app is deployed (default empty)X
axis_server_ip192.168.5.56the IP or hostname of the braga serverX
axis_server_port8080the braga server port (default 8080)X
axis_server_protocolhttpshttps or https, the protocol used for the braga server (default http)X
braga_create_copytruecreates a copy of the PDF without biodata (if flag is true); default falseX
braga_render_dpi200the dpi with which pages are rendered (default is 200)X
cookie_nameSOSESSIONIDthe cookie name for the session cookieX
cookie_path/the cookie pathX
file_upload_max_file_size20480the maximum upload size in bytesX
file_upload_urlhttps://host/fileUpload/fileUploadthe url for the file upload (via tyrservice)X
guest_user_document_availability60The time a document / envelope is available for a guest user (email guest user link). The timespan is the config setting + the signature_request due date. 

logging_debugtrueenables extended logging for debugging (default false)X
max_message_size20480the max tyrservice message size (optional value)X
memcached_port11211the memcached portXX
memcached_server192.168.5.57the ip or hostname of the memcached server if memcahe is usedXX
memcached_sessionstruetrue or false, the switch if memcached should be used for session managemeantXX
org_quartz_propertiesquartz.propertiesthe name of the quartz scheduler configuration file in the classpath (for the automated jobs)X
pdf_render_max_render_threads4the max number of render threads
X
process_pool_timeout120000timeout for a process from the process pool in milliseconds (default 120000)
X

render_strategy

AllPagesthe strategy used to render the pdf pages, possible values are OnlyPagesWithSignatures, AllPages, FirstTwoAndPagesWithSignatures. Default is FirstTwoAndPagesWithSignaturesX
request_lifetime7200the request lifetime in seconds.X
rest_api_allowed_hostslocalhost,192.168.5.2,192.168.5.5the allowed hosts for the communication with the REST API (Cross-Origin-Requests)X
session_sync60session sync interval in seconds (memcached)X
session_timeout6000session timout in milleseconds (browser and tyrservice session)XX
storage_homeX:/data/the full path for storage of documents and certificates (BRAGA)
X
storage_modesoll rein? description korrekt? --->

storage mode of braga, possible values:

  • db: files are stored in database
  • dbWithFallback: files are stored in db. If entry is not present, filesystem will be used
  • file: files are stored in filesystem
XX
tracking-headerx-idheaderthe name of the http header used for the additional tracking id logging. Default is x-trackingX
tyrservice_debuggingtruetrue or false, enables an extended logging for tyrservice classes (if no value is set the default is false)X
tyrservice_publicfalsetrue or false, wether the public tyrservice services should be available, public services only use the adhoc code for authenticationX

url_handler_key

jdksleuwiojdksleuwio67on server startup a secure key is created for url encryption and stored in the db (recommended). This mechanism can be overridden with this static 32 character long string.X
webso_events_urlhttps://www.testserver.com/CallbackServlet

WebSignatureOffice can be configured to call an URL on certain events. This functionality is activated by setting the URL to be called in the config.ini

Further configuration options are:

webso_events_filter:  a semicolon separated list of events that should be fired, if this option is not set, all events are fired. (e.g. STATUS_CHANGE;USER_FINISH)

webso_events_keys: a semicolon seperated list of HTTP-request property keys for the webso_event execution (e.g. user;pass) 

webso_events_values: a semicolon seperated list with corresponding values for the webso_event_keys (e.g. stepovercallback;strongPassword) event_keys and events_values must be in the same order

webso_events_retry: the time waited in milli seconds untill the event call is repeated. (e.g. 10)


For more information, please check: e) Callback-API

X

...