There are few common steps/examples listed to add to clarity. In this example setup, the certificate presented by the app server user (demoUser1) will be as follows.
Certificate:
Data:
Version: 1 (0x0)
Serial Number: 7 (0x7)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, ST=CA, L=San Carlos, O=MarkLogic Corp.,
OU=Engineering, CN=MarkLogic DemoCA
Validity
Not Before: Jul 11 02:58:24 2017 GMT
Not After : Aug 27 02:58:24 2019 GMT
Subject: C=US, ST=CA, L=San Carlos, O=MarkLogic Corp.,
OU=Engineering, CN=demoUser1
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (1024 bit)
Modulus:
.....................
Exponent: 65537 (0x10001)
Signature Algorithm: sha1WithRSAEncryption