Web service certificate authentication

This article describes how to authenticate a Web Service call with certificates.

Configuring the web server in HTTPS mode

Certificates only work over HTTPS connections. Before securing your web service connection you must configure the SAFE X3 web server (aka. Syracuse server) in HTTPS mode, as described here.

Enabling certificate authentication

As soon as the server runs in https, and as the nodelocal.js file has been configured as described here, certificates can be used to connect.

Installing a client certificate

You need then to get a client certificate provided by any certication authority, and to install it on your web service client, and to declare it as an accepted certificate on your host entity.

Calling a Web Service with a certificate

Once this installation is done, no more authenticatio n header is necessary.The login name that will be used is the "common name" of the "distinguished name" of the "subject" of the client certificate.

Links