1
votes

I am trying to add SSL certificates for the endpoint of the APIs which are created in the APIM 2.5.0

I am able to add the SSL certificate using keyimport tool from commandline and things are working as expected. But, is there a possibility to add the certificate using restAPI when we are adding the APIs using restAPIs.

May be in the payload which is generated to add an API in the APIM as stated in the link https://docs.wso2.com/display/AM250/RESTful+APIs

Thanks

1
Thanks for reporting! I have updated the corresponding WSO2 API Manager release documentation for the 2.2.0, 2.5.0 and 2.6.0 in order to avoid confusion.Mariangela Hills
@Mariangela Hills: Thanks So in APIM 2.6.0, using rest API, the certificate for backend server of APIs can be added and then server restart is not required any more. my understanding is correct?2437850

1 Answers

1
votes

WSO2 API Manager has a dynamic SSL certificate installation feature where you can skip manual importing the certificate for the endpoint. This feature is only available in APIM 2.5.0 WUM updated pack and GA pack of APIM 2.6.0. https://docs.wso2.com/display/AM250/Dynamic+SSL+Certificate+Installation

In APIM 2.6.0, this feature is enhanced by introducing a REST API for importing certificates. For your endpoints, you can import a certificate. https://docs.wso2.com/display/AM260/apidocs/publisher/#!/operations#CertificatesIndividual#certificatesPost

If you want to use the REST API for importing certs, you have to go with APIM 2.6.0.