LogoLogo
  • emCA Certificate Manager
  • Introduction
    • Summary
    • Key Features
    • Key Components
    • Architecture
    • Use Cases
    • Security
    • Role based Access
    • Licensing
    • How emCA Works ?
  • Release Versions
    • V4.2.6
    • V4.2.5
    • V4.2.4
      • User Manual
        • CA Administrator
          • CA Admin Login
          • Dashboard Page
          • View CA Hierachy
          • Manage User Certificates
            • Search
          • Manage CA Certiifcates
            • Search
          • Manage User & Roles
            • Manage User
            • Create New User
            • View Groups
          • Reports
            • Application Logs
            • CRL Report
            • Certificate Statistics
            • All Certificates
            • Active / Revoked / Suspended / Expired Certificates
          • Application Settings
            • Manage License
            • Manage Authentication Matrix
            • Certificate Features
        • Administrator
          • View Hierachy
          • Manage Profiles
            • Manage Certificate Profiles
              • X509 certificate profile
              • Create CVC CA certificate profile
              • Create EMV Certificate Profile
            • Manage Key Profiles
            • Manage CRL Profiles
          • Manage User Certificates
          • Manage CA Certificates
          • Manage Keystores
          • Manage Users & Roles
          • Reports
          • Application Settings
          • Setup & Registeration
          • External Applications
          • Mail Settings
          • Manage Certificate Features
        • Officer
          • CA Hierarchy
          • Manage User Certificates
          • Manage CA Certificates
          • Manage CRLs
          • Manage EMV Certificate
          • Manage EMV CRLs
          • Manage Keystores
          • Manage OCSP Certificates
          • Recover User keypair
          • Reports
        • Auditor
          • CA Hierarchy
          • Reports
      • emCA_Deployment_Document
    • V4.2.3
      • User Manual
        • CA Administrator
          • CA Admin Login
          • Dashboard Page
          • View CA Hierachy
          • Manage User Certificates
            • Search
          • Manage CA Certiifcates
            • Search
          • Manage User & Roles
            • Manage User
            • Create New User
            • View Groups
          • Reports
            • Application Logs
            • CRL Report
            • Certificate Statistics
            • All Certificates
            • Active / Revoked / Suspended / Expired Certificates
          • Application Settings
            • Manage License
            • Manage Authentication Matrix
            • Certificate Features
        • Administrator
          • View Hierachy
          • Manage Profiles
            • Manage Certificate Profiles
              • X509 certificate profile
              • Create CVC CA certificate profile
              • Create EMV Certificate Profile
            • Manage Key Profiles
            • Manage CRL Profiles
          • Manage User Certificates
          • Manage CA Certificates
          • Manage Keystores
          • Manage Users & Roles
          • Reports
        • Officer
          • CA Hierarchy
          • Manage User Certificates
          • Manage CA Certificates
          • Manage CRLs
          • Manage EMV Certificate
          • Manage EMV CRLs
          • Manage Keystores
          • Manage OCSP Certificates
          • Recover User keypair
          • Reports
        • Auditor
          • CA Hierarchy
          • Reports
        • Operator
          • CA Hierarchy
          • Backup
    • V4.2.2
      • User Manual
        • CA Administrator
          • CA Admin Login
          • Dashboard Page
          • View CA Hierachy
          • Manage User Certificates
            • Search
          • Manage CA Certiifcates
            • Search
          • Manage User & Roles
            • Manage User
            • Create New User
            • View Groups
          • Reports
            • Application Logs
            • CRL Report
            • Certificate Statistics
            • All Certificates
            • Active / Revoked / Suspended / Expired Certificates
          • Application Settings
            • Manage License
            • Manage Authentication Matrix
            • Certificate Features
        • Administrator
          • View Hierachy
          • Manage Profiles
            • Manage Certificate Profiles
              • X509 certificate profile
              • Create CVC CA certificate profile
              • Create EMV Certificate Profile
            • Manage Key Profiles
            • Manage CRL Profiles
          • Manage User Certificates
          • Manage CA Certificates
          • Manage Keystores
          • Manage Users & Roles
          • Reports
        • Officer
          • CA Hierarchy
          • Manage User Certificates
          • Manage CA Certificates
          • Manage CRLs
          • Manage EMV Certificate
          • Manage EMV CRLs
          • Manage Keystores
          • Manage OCSP Certificates
          • Recover User keypair
          • Reports
        • Auditor
          • CA Hierarchy
          • Reports
        • Operator
          • CA Hierarchy
          • Backup
    • V4.2.1
    • V4 .0.17
      • Open API Specifications
        • Prerequisites
        • Process for calling emCA API
        • How to Generate an Authentication Key
        • How to Generate Signed Data (PKCS#7)
        • How to create JSON Object before Encryption
        • How to encrypt JSON object
        • How to generate a request JSON Object
        • API Methods
          • API Method -createCertificate and createCertificateP7B
          • API Method -createPKCS12
          • API Method -getCertificate
          • API Method - revoke
          • API Method - verifySignature
          • API Method - createCertificateById and createcertificateP7BById
          • API Method - createPKCS12ById
          • API Method - reinstate
          • API Method - suspend
          • API Method -rekey
          • API Method-getCertificateByRequestID
          • API Method - createCustomCertificateById
          • API Method - getExpirySoonCertificate
          • API Method - getProfileinfoByProfilename
          • API Method -getCertificateProfileList
          • API Method- createCertificatesByIdWithMultipleCsrData
          • API Method - getPKCS12
          • API Method - createeSignCustomCertificateById
        • ePassport Certificate API Methods
        • emClient.jar
        • SOAP Information
        • ACME Protocol
        • CMP Protocol
        • EST Protocol
        • SCEP Protocal
      • User Manual
        • View CA Hierarchy
          • Delete Certificate and Keypair
          • Search Certificate
          • View Certificate
          • Export Certificate
        • Manage Profiles
          • Key Profiles
            • Edit
            • Key Profile Creation
              • Create HSM Key Profile
              • Create PKCS12 Key Profile
          • Certificate Profiles
            • Certificate Profile Creation
              • Create CA Self Signed Certificate
              • Create User Certificate Profile
              • Create OSCP Certificate Profile
          • CRL Profiles
            • New CRL Profile
        • Manage User Certificate
          • Enroll
            • Generation of Soft Token Certificate
            • Generation of Hard Token Certificate
          • Revoke/Suspend
          • Reinstate
          • Search
          • Sign CSR
          • Manual Authorize Certificates
          • SCT Request
        • Manage CA Certificate
          • Enroll
            • Create Self-Signed CA Certificate
            • Create Sub CA Certificate
            • Create OSCP Certificate
            • Generate Signing CSR
          • Manage CA Certificates
            • Search Certificate
            • Import Certificate
          • Revoke CA Certificate
          • Search
          • Sign CSR
          • Import PKCS12
        • Manage CRLS
          • Create CRL
          • Update CRL
          • Download CRL
          • Scheduler Configuration
        • Manage OSCP Certificates
          • Configure OSCP Certificate
          • OSCP Configuration
        • Recover User Keypair
          • Recover
            • Key Recovery with new Password
            • Key Recovery with old Password
        • Manage Users and Roles
          • Manage User
            • Create New User
            • View all users created
            • View individual user
            • Deactivate user
            • Activate user
            • Renew
            • Delete User
          • View Groups
        • Reports
          • Types of Reports
          • CRL Reports
          • Certificate Stastics
          • All Certificates Reports
          • Active Certificates Report
          • Revoked Certificates Report
          • Suspended Certificates Report
          • Expired Certificates Report
        • Application Logs
        • Backup
          • Manual Backup on Local Server
          • Manual Backup on Remote Server
          • Automatic Backup on Local Server
          • Automatic Backup on Remote Server
        • Backup Restoration
        • Dashboard Features
          • View all Active CA and User Certificates
          • View Revoked CA and User Certificates
          • View all expiring soon CA and User Certificates
          • View all CRL-based Certificates
        • Application Settings
          • Manage License
          • Setup and Registration
          • External Applications Onboarding
        • Manage Key stores
    • V4.0.13
      • User Manual
        • View CA Hierarchy
          • Delete Certificates & Key Pair
          • Search Certificate
          • View Certificate
          • Export Certificate
        • Manage Profiles
          • Key Profile
            • Edit
            • Key Profile Creation
              • Create HSM Key Profile
              • Create PKCS 12 Keyprofile
        • Certificate Profiles
          • Certificate Profile Creation
            • Create CA Self Signed Certificate Profile
            • Create SubCA Certificate Profile
            • Create User CA Certificate
            • Create OCSP Certificate
        • Manage User Certificate
          • Enroll
            • Generation Of Softtoken Certificate
            • Generation Of Hardtoken Certificate
          • Revoke/Suspend
          • Reinstate
          • Search
          • Sign CSR
          • Manual Authorize Certificates
          • SCT Request
        • Manage CA Certificate
          • Enroll
            • Create Selfsigned CA Certificate
            • Create Sub CA Certificate
            • Create OCSP Certificate
            • Generate Signing CSR
          • Manage CA Certificates
            • Search
            • Import Certificate
        • Revoke CA Certificate
        • Search
        • Sign CSR
        • Import PKCS 12
        • Manage CRLs
          • Create CRL
          • Update CRL
          • Download CRL
          • Scheduler Configuration
        • Manage OCSP Certificate
          • Configure OCSP Certificates
          • OCSP Configuration
        • Key Recovery
          • Recover
            • Key Recovery With New Password
            • Key Recovery With Old Password
        • Manage Users & Roles
          • Manage Users
            • Create New User
            • View All Users Created
            • View Individual Users
            • Deactive Users
            • Activate Users
            • Renew
            • Delete
            • Export All users
          • View Groups
        • Reports
          • Features
          • Types Of Reports
            • CRL Reports
            • Certificate Statistics
            • All Certificate Reports
            • Active Certificate Reports
            • Revoked Certificate Reports
            • Suspended Certificate Reports
            • Expired Certificates Reports
        • Application Logs
        • Backup & Restore
          • Backup
            • Manual Backup on Local Server
            • Manual Backup On Remote Server
            • Automatic Backup on Local Server
            • Automatic Backup On Remote Server
          • Backup Restoration
        • Dashboard Features
          • View All Active CA and User Certificates
          • View Revoked CA & User Certificates
          • View All Expiring Soon & User Certificates
          • View All CRL Based Certificates
        • Application Settings
          • Manage emCA Authentication Matrix
          • External Application On-Boarding
        • Manage Keystore
  • Deployment Models
    • Single Instance
    • High Availability Deployment
    • Hybrid Deployment
    • Cloud Deployment
    • List of Prerequisites
      • Installations
        • Token Drivers
        • emCA Websocket
    • emCA Deployment Guide
      • Prerequisites
        • Other Prerequisites
      • emCA
      • emCA API
      • OCSP Core
      • OCSP Responder Web
      • TSA Core
      • TSA Web
      • Scheduler
      • DB Password Encryptor
      • emCA Initial Setup
      • Protocols Configuration Overview
        • ACME Protocol
        • EST Protocol
Powered by GitBook
On this page
  1. Release Versions
  2. V4 .0.17
  3. Open API Specifications
  4. API Methods

API Method - getExpirySoonCertificate

PreviousAPI Method - createCustomCertificateByIdNextAPI Method - getProfileinfoByProfilename

Last updated 1 year ago

Purpose

Use the “getExpirySoonCertificate” method to fetch the Certificates that are to expire soon based on the time duration and Subscriber ID.

Type of Method

POST

Request URL

Request Input Parameters

Parameter

Presence

Data Type

Description

subscriberId

O

String

Pass the subscriber Id to fetch “soon to be expired‟ certificate details of that specific subscriber (or) leave it blank to get “soon to be expired‟ details of all Subscribers.

signature

M

String

Pass Signed data you want to validate or verify.

userName

M

String

You need to pass username that is registered with emCA for API process.

password

M

String

You need to pass the password that is registered with emCA for API process.

Sample JSON Object

requestData		
{
  "noOfDaysToExpirySoon": "XXX",
  "subscriberId": "XXXX"
"signature" : "MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIGLQ049dGh1bGFzaSxTRVJJQUxOVU1CRVI9QVZBUEc0MjAxQSxFPXRodWxhc2kuZ0BlbXVkaHJhLmNvbSxPPWVtdWRocmEsUz1LQSxDPUlOLFBvc3RhbENvZGU9NTYwMTAzLEtleUFsb2dpcnRobUFu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ks7zI3gozMCCuHBeBS/wA7LPwyxkxxFwUzDeJkLYfmkFQH6HN2OT3BqY3cA2Qon/NHRdCc5vvY9pbSR0j4y/2wXqzROIyYjXt3U2z/IL1pkDlmpDmYzbafdIlCJ6xyFOKNRoLp6QiGTZNs5UaVPnxMOvsh2sA1EirFFsRiDBJ6ycrAjff9ls4oIc5gpgp7TArXbogFP1lw5j8nj50se46Bv0aQ0D4WdThCljcC6xQMAADGCAhEwggINAgEBMHswdDElMCMGA1UEAwwcQ2VydGlmaWNhdGVNYW5hZ2VyIFJvb3QgMjAxNjEYMBYGA1UECgwPZU11ZGhyYSBMaW1pdGVkMRAwDgYDVQQLDAdlbXVkaHJhMRIwEAYDVQQIDAlCYW5nYWxvcmUxCzAJBgNVBAYTAklOAgNMS0EwDQYJYIZIAWUDBAIBBQCgaTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xODA4MDgxMDU3NDFaMC8GCSqGSIb3DQEJBDEiBCCRCU2QQn8vWt9lA+SkB/8weIKlUaHaSgmDqE4GCgQZ0TANBgkqhkiG9w0BAQEFAASCAQAIjlSTHf+7EXSUuFV7S57vDdYyu5AhE5iJ2dJl03zo/Bc62yMRgWGPpLSTFBjo8102VQIACxfudcCNoV1pfPkTxTyhe/rMv/VnWaMcLLrJZ0JRu7WZgrfHkBZ7p1eIv6LRt/nja93Fuc2M8Jl8B00DeQDNkyjnIN3gVS+0Hr8/ZIfClYa3huxfm8h1PeQHupaZ53UZKONLe7rRVVJGIA2IZwRkXcxk/2Z47qw1hUFvtXokQBbqOj1rDhL3Dh6pOsU9XbXTKGXzmcs0I6RXSB3DHbwQtsPK7neEyJBbxS0IpiKxY7IZtF2+m+WXmjWQyg7ZIYK0/X96XkYA7W7rcEPjAAAAAAAA",
 "userName" : "username"
 "password" : "password "
“isSignedData”  : “true/false”
}     

Header Details

Key

Presence

Value

Description

Application / JSON

M

Content-Type

Type of request should be in JSON Format.

Authentication Ke

M

emKey

emKey is an encoded key (Refer section 4 for generating Authentication Key using command prompt).

Sample Request Data

Header: 
              Content-Type : application/json
Request Body:	
                        {
{  "requestData" : "DcojYlq57vrFInQ3TypNPKWGZiQ4GXBcIpEaW1hkQxe0qHi5AvBMKnz97dpVOEezet5CoX1UPugOXu25w4fqyPKOhnBLkhrg0SDPEJLvGHjFt37gGiL34CUIym5UAQTZKMlnVYTgL/TTnBCQ18oHl0zRoekr3oR9SbHqUGe5+HuSs7YVKNMkKvKNkoZ78luvs8ahK4vbkqzcLhM3x87q7mSUnZdvBn/8c3vm9EZizNbEXlSCIsGvyu3D5gErXckUTOgxCvlVEMEyqyc8kVPpDy5LvLdefoyP8cNjekJaGBF2DYZo/onkiesljtbwicj8ypGqBLi6351P8yTtYE3zSNRj1SpF+Fb86pkuiv4HJs6nj8j++GdYBHQVB3hnvv/b1JH/8ycos/8Xfi5+dMX95pclGs76sD/BEKZZRO0KreVWPSGMpX4ZaH6S/T45S/sbsuJIYboILofms+3y5Nem5dDF5rwYDv1c/X0yhFDy380VizBc3+ceJR/x6JgwoLpNizqwIYYe2puB1epG+NPD/jZf/9T2Qo81e8QvWNEGERvYkz8e4hNygKA2nGRGta66KbqJYkoaLEMI9eX7af3ZZu8Z072eN8pxo76CBMze02tqgKM7T7SrNjsc1eRyhvaorinkpmM9bPiaKSH0EUx4zH63NPggsxUtoLGsEoq7QIQZa8kJvjsxtq9EkgmATUOf0cn22Tbt5i9WBExAuR09feigIeOfqpv0VTlka9F2n2MUiIWOCiH37WZDlhQn9RRfF3rr3KF12UTHwAMc8Bov0HpM6nxmspD9tOzV4g8BhmTfQBur9VBBHA9bI7Y9EODjw2hnyU1X3tg3phadLwphkh83+b+sS7T+61sJnpA5HqjEyJ027mRymuPMPXksKGsyf+vQmRlyBC4pHKEtKBxGT/OPZPrOcQ1DTfxLdLAB2fj4FN8YNi8X/ofyJZOkIWxDYTdGqFPBgHNcaO8dy3vgpcU2PLg9dsnqi3m6tUNXkfYMF3Gj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vmi3ZjRKopqg+eRG3dplLSB88QWClhD8fipcFKw13IPGdDhd72rOSpkXgGQpOMtfRPiWgRibDBgKiGwhYwI7Ofld3zM9NuZQmXgBQVj3Ta0Rz0Avlt/H5lFj2IpEZtv5+Tvdzb783kn21MKpWCzo83IRnWbJyqahSEqXX7qQmX47hUhhH4iY9y8YwqeM90NSupvifex3I/qZdlHBhRqHyeipwE3jYAsZIQdm0bwrXwZN47j+LSlWossIMRcVF++U9EcDYYPdhdAolkF+9skPY+zyuWPiE/SchzXnshtsTiYQssqWzDggqu6YjimnDSfwc/Vh/sZ1Tkn3HMgj7/R4IZPEO9ploknc4NpLNKL4aI74Yj6yS8nrt7Wpmk8Ev2OWMV62RKWlxYtuA/QRqsGFMHebkhuC/TV8I+A1jZZRK6xW0cEyEG0LyaMtdMdls1b4JQTUkYs1s+S9r3q40ky9+OGZdT2nSYJ19t68GanNtfR6/6li0cJDNEMlInQgUY9703Qykn1cEpcoH0vQ92pLCicQ0aRDAcdAotk1U42+dNR0yy7Hae1cmASMoqyLTEBqDVkU06Shl0nnPn/l6ZNSffEY5c8WJG6kLoXCC+bw1HSZVKBahTwJ8S0tmPK3G0+3LKep3s31YyrmlIgFAAdm+qGBf0N3sG0ARb7lLs7uRqUS3eb/q1+OU73ftuelEku8r2fsAlfDfShWH8ocdbvaLt3cQ7st/V53dVjzcfcHPZx40sw3prVEIBBwV01eV2BPn+RQgyQnB6sLdqUBzeunZEfCNx5jw5KGMbjAc1U+ZkB/KYj/EfUo2H4/KWvBJ9QzX7jcFrzZaeZY+FgtGp1wF+5eBZtB9XmHSPihwra28/JDGWqt1ow=="
}	
		}

Process

  • When request is received by emCA service, the system decrypts the request JSON Object with same AES key that is shared with the client.

  • After successful decryption, request JSON object (Username + Password + Signature(noOfDaysToExpirySoon)) is retrieved.

  • emCA service will then validate the username, password and check if the IP Address used for request and registered with the user are same.

  • If request is registered with the same user, then the system checks if the certificates are available for the specified time period.

  1. If certificates are available for the specified time period, the certificate details ( Certificate Serial no and specified time period) will be displayed.

  2. If certificates are not available for the specified time period, the message “No Certificate is available for the specified time period” will be displayed.

Response Parameters

Parameter

Data Type

Description

response

String

Returns JSON Object

JSON Object Contains below parameters

Parameter

Data Type

Description

status

String

Returns Status of the request as “Success‟ when the Certificate details to be expired in the specified time period is fetched.

Returns status of the request as “Failure‟ when authentication fails or unregistered user tries to call the API.

result

String

In case of Success: the Certificate details to be expired in the specified time period will be displayed.

In case of failure: Error message will be displayed.

subscriberId

String

Returns Subscriber Id

Response JSON Format

Sample:
Success:
      Response Body(if have certificate that to expired in specified time period)
     {
      "status":"success",
      "result":"Certificates serials no”s to be expired in the specified time period ,
      “subscriberId”:”XXX”
      "requestId": null,
     }	

 Response Body(if don’t have certificates that to expired in specified time period)
     {
      "status":"success",
      "result":"No certificate will be Expire in XX Days,
      “subscriberId”:”XXX”
      "requestId": null,
     }		
      Failure: 
    {
  "status": "failure",
  "result": "<Error message>,
  "subscriberId": null,
  "requestId": null
     }
http://www.example.com/emCAServices/rest/getExpirySoonCertificate