Topic
3 replies Latest Post - ‏2013-09-30T16:06:45Z by AndersLorensen
ShwetaSSharma
ShwetaSSharma
3 Posts
ACCEPTED ANSWER

Pinned topic Unable to post certificate to ELB after renew it.

‏2013-09-13T16:30:51Z |
Hi,
I have registered my application server with ELB for http and https ports.
I am performing some operations like add new certificate to keystore at run time. I need to post this change certificate to ELB.
The initial registration is done successfully but after renew the certificate, the certificate is unable to post to ELB and returning 412 error code.
Please find below details used for registration-
 
For initial registration:
Rest API: POST /sharedservice/proxy/applications/
Response :
[2013-09-13 04:32:44,856] __init__.py 140583357945600 pid=10046 DEBUG Posting /opt/IBM/maestro/agent/usr/servers/Apache_Tomcat-tomcat.11379060150596/scripts/ProxyClient/custom/appRegistrationData.json to https://d-39d7b17b-36e6-4595-a692-72355d23cebe:9999/sharedservice/proxy/applications/
[2013-09-13 04:32:45,242] __init__.py 140583357945600 pid=10046 DEBUG % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1501 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
101 1623 122 122 100 1501 458 5639 --:--:-- --:--:-- --:--:-- 8881
[2013-09-13 04:32:45,242] ProxyClient/util.py 140583357945600 pid=10046 DEBUG New instance with ip 170.225.96.207 has been registered successfully
 
For registration after renew certificate:
Rest API: POST /sharedservice/proxy/applications/certs
Response :
[2013-09-13 04:53:16,449] __init__.py 140140578621184 pid=13072 DEBUG Posting /opt/IBM/maestro/agent/usr/servers/Apache_Tomcat-tomcat.11379060150596/scripts/Tomcat/custom/appRegistrationData.json to https://d-39d7b17b-36e6-4595-a692-72355d23cebe:9999/sharedservice/proxy/applications/certs
[2013-09-13 04:53:16,771] __init__.py 140140578621184 pid=13072 DEBUG % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1437 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
102 1437 0 0 102 1437 0 7263 --:--:-- --:--:-- --:--:-- 14663
curl: (22) The requested URL returned error: 412
[2013-09-13 04:53:16,772] Tomcat/util.py 140140578621184 pid=13072 DEBUG Failed to post registration to ELB for exception.
 
Kindly suggest for this issue.
 
Other details:
iwd version : 3102
Foundation pattern type version:2.0
 
Regards,
Shweta
  • ShwetaSSharma
    ShwetaSSharma
    3 Posts
    ACCEPTED ANSWER

    Re: Unable to post certificate to ELB after renew it.

    ‏2013-09-20T12:33:15Z  in response to ShwetaSSharma

    Hi,

    Any update on this issue.

    Regards,

    Shweta

    • ShwetaSSharma
      ShwetaSSharma
      3 Posts
      ACCEPTED ANSWER

      Re: Unable to post certificate to ELB after renew it.

      ‏2013-09-30T10:51:57Z  in response to ShwetaSSharma
      Hi,
      Can you please provide early response as my work is getting stuck?
       
      Regards,
      Shweta
      • AndersLorensen
        AndersLorensen
        139 Posts
        ACCEPTED ANSWER

        Re: Unable to post certificate to ELB after renew it.

        ‏2013-09-30T16:06:45Z  in response to ShwetaSSharma

        What do you think this is???

         

        You have posted to a community forum, where IBM customers help each other with their IBM STORAGE products.

         

        --

        Anders