Table of Contents

Search

  1. Preface
  2. Introduction to REST V2 Connector
  3. Connections for REST V2
  4. REST V2 operations
  5. Mappings and mapping tasks with REST V2 Connector
  6. Swagger File Generation
  7. Appendix A: Swagger objects
  8. OpenAPI objects

REST V2 Connector

REST V2 Connector

Generate a truststore

Generate a truststore

To generate a truststore, you need a server certificate. Get the server certificate and perform the following steps to generate the truststore:
  1. Import the server certificate to the following file path:
    <Secure Agent installation directory>\jre\lib\security\cacerts
  2. To generate the truststore, run the following command from the command line:
    keytool -importcert -alias
    <Specify alias name here>
    -file
    <Specify server certificate here>
    -keystore
    <Specify the name of custom truststore to be generated>
    -storepass
    <Specify password for the custom truststore>
    For example,
    keytool -importcert -alias RESTV2CACert -file ca.pem -keystore sampletruststore -storepass JKSTrustStorePassword
    In the example, a truststore file is generated by the name
    sampletruststore
    and password
    JKSTrustStorePassword
    .

0 COMMENTS

We’d like to hear from you!