Where does this xml originate from?

On Thu, 3 Feb 2022 at 22:16, Amarpreet Singh <[email protected]> wrote:

> Looking for help to convert XML output of a ssl certificate and get date
> out of it.
> Then compare and check if that cert has expired or not.
>
> output
>
>     "stdout": "{\"not-valid-after\": \"Apr 20 17:36:03 2022 GMT\"}",
>     "stdout_lines": [
>         "{\"not-valid-after\": \"Apr 20 17:36:03 2022 GMT\"}"
>     ],
>     "stdout_xml": "<not-valid-after>Apr 20 17:36:03 2022
> GMT</not-valid-after>\n"
>
> I am looking to change the red highlighted line in datetime format.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/26e20e6e-5c9b-45f6-96e4-f523f5fa8534n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/26e20e6e-5c9b-45f6-96e4-f523f5fa8534n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwOQhMMoYY9LFdta6xqNBSFsYwj%2BCg9cw7VTGmt4im-fpw%40mail.gmail.com.

Reply via email to