Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2154

Cert-cvc date decoding does not take timezone into consideration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 3.11.0
    • Fix Version/s: EJBCA 4.0.2, cert-cvc 1.2.13
    • Component/s: None
    • Labels:
      None

      Description

      Doing a "cvccert.getCVCertificate().getCertificateBody().getValidFrom()" in different timezones gives the same time, but for different timezones, which means it is not the same time.

      Notbefore: Mon May 05 00:00:00 CEST 2008
      Notafter: Wed May 05 23:59:59 CEST 2010
      Notbefore: 1209938400000
      Notafter: 1273096799000

      Notbefore: Mon May 05 00:00:00 CEST 2008
      Notafter: Wed May 05 23:59:59 CET 2010
      Notbefore: 1209938400000
      Notafter: 1273100399000

      Notbefore: Mon May 05 00:00:00 EDT 2008
      Notafter: Wed May 05 23:59:59 EDT 2010
      Notbefore: 1209960000000
      Notafter: 1273118399000

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: