[ 
https://issues.apache.org/jira/browse/USERGRID-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095102#comment-15095102
 ] 

Michael Russo commented on USERGRID-521:
----------------------------------------

You can PUT /org/app/notifier/<notifier name or uuid>.  Response will provide 
entities with example entity looking like:

{code}
{
    "uuid" : "abd38d21-b948-11e5-9a9a-a62488b5e6db",
    "type" : "notifier",
    "name" : "applenotifier",
    "created" : 1452615747622,
    "modified" : 1452618605163,
    "provider" : "apple",
    "environment" : "production",
    "logging" : true,
    "certInfo" : {
      "filename" : "aps_production_nopass.p12",
      "details" : {
        "serialNumber" : 6333583849702333811,
        "subject" : "C=US, OU=WRCX63TMJ2, CN=Apple Production IOS Push 
Services: org.apache.usergrid.samples.push, 
UID=org.apache.usergrid.samples.push",
        "subjectAlternativeNames" : null,
        "extendedKeyUsages" : [ "1.3.6.1.5.5.7.3.2" ],
        "validFrom" : "Mon 19 Oct 2015 03:32:38 GMT",
        "version" : 3,
        "issuer" : "CN=Apple Worldwide Developer Relations Certification 
Authority, OU=Apple Worldwide Developer Relations, O=Apple Inc., C=US",
        "signatureAlgorithm" : "SHA1withRSA",
        "validFromTimestamp" : 1445225558000,
        "validToTimestamp" : 1476761558000,
        "extensions" : { },
        "basicConstraints" : -1,
        "validTo" : "Tue 18 Oct 2016 03:32:38 GMT"
      }
    },
    "metadata" : {
      "path" : "/notifiers/abd38d21-b948-11e5-9a9a-a62488b5e6db"
    }
  }
{code}

The same entity will show from  POST /org/app/notifiers.  Notice the certInfo 
object is new containing the filename and details of the certificate that was 
uploaded.

> Ability to view/replace an existing APN certificate
> ---------------------------------------------------
>
>                 Key: USERGRID-521
>                 URL: https://issues.apache.org/jira/browse/USERGRID-521
>             Project: Usergrid
>          Issue Type: Story
>          Components: Stack
>            Reporter: Jeffrey 
>            Assignee: Michael Russo
>             Fix For: 2.1.1
>
>
> Customer requests that we have the ability to view and/or replace an existing 
> APN certificate without having to delete the existing one.  This approach 
> would minimize downtime for notification services.
> Ability to view the certificate, or at more likely only the certificate 
> details) will provide the ability for an operations team to monitor its 
> validity. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to