Skip to content

A simple HTTP-Server for signing PDF files.

License

Notifications You must be signed in to change notification settings

lovelysystems/lovely-signpdf

Repository files navigation

Lovely Sign PDF

Build Status GitHub License

A small HTTP server which allows to sign PDF Files via a HTTP API. This software is currently in alpha state and might change in incompatible ways.

Signer

The server can be run with different kind of signers which can be chosen via the environment variable SIGNER_TYPE. At the moment there is a swisscom and a selfsigned type.

SwisscomSinger

To use the swisscom signer the SIGNER_TYPE environment variable must be set to swisscom. Additionally the claimIdentity musst be set via the SIGNER_CLAIM_IDENTITY environment variable. It's also possible to set a different URL for the ais server and specify a timeout. Please take a look at application.conf for further information.

The keystore for the swisscom signer has to be in jks format and has to hold the ais-CA certificate using the alias ais_server and your public certificate and private key with the alias ais_client. jks format is needed because it's not possible to save public certificates without the corresponding private key.

SelfSignedSigner

This is the default signer it's keystore has to be in pkcs12 format and has to hold your public certifiacte and private key.

Usage

Take a look at the example curl command on how to sign a document. Also the App test might be interesting.

Installation

The server is intended to be run as a docker container, see the Docker Readme for details.

About

A simple HTTP-Server for signing PDF files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published