Jump to content

This topic is 3918 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

hello,

it's possible to implement openssl on a new function, and use it like ...

 

scriptmaster_openssl_function (x509 ; -text ; -noout ; -in ; vendor.pem)

 

with vendor.pem passed as a container and return a text like :

 

-----------------------------------------------------------------------------------

 

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 1 (0x1)
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: O=DC2.SMPTE.DOREMILABS.COM, OU=DC.DOREMILABS.COM, CN=.ROOT.DC2.SMPTE/dnQualifier=a/wUIHLuFW7RKXpNQGmQ966xOv8=
        Validity
            Not Before: Jan  1 00:00:00 2007 GMT
            Not After : Dec 31 23:59:59 2025 GMT
        Subject: O=DC2.SMPTE.DOREMILABS.COM, OU=DC.DOREMILABS.COM, CN=.ROOT.DC2.SMPTE/dnQualifier=a/wUIHLuFW7RKXpNQGmQ966xOv8=
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (2048 bit)
                Modulus (2048 bit):
                    00:9f:f1:75:ed:23:86:ad:aa:57:46:81:96:cc:af:
                    f0:29:78:bc:7d:7e:45:18:80:97:b0:f2:07:02:85:
                    93:4a:e2:ba:9c:a3:fb:ff:27:69:5c:5c:58:6d:0c:
                    c7:dc:e4:58:dc:83:24:aa:30:84:ca:8c:00:cc:cd:
                    ce:cb:29:87:12:68:14:64:ce:49:50:cc:f9:60:e5:
                    4b:72:59:04:48:1d:22:bb:f2:4e:31:11:58:c7:9a:
                    df:69:c2:de:e5:2e:f0:8e:89:74:48:6e:89:46:41:
                    1d:bd:85:99:00:55:b2:9e:92:de:cb:3d:9b:48:95:
                    e7:3a:3f:cd:fd:c4:bf:62:74:8f:b9:83:c5:ca:77:
                    43:af:33:72:99:88:7a:29:38:f2:aa:60:b5:f7:b3:
                    fa:cb:f3:da:d5:fd:78:8d:66:61:95:bb:ee:ff:68:
                    42:23:11:65:73:06:95:a8:b0:36:55:e9:dc:5a:a4:
                    06:30:03:e8:c4:c4:58:62:27:12:9e:9b:3a:d8:e4:
                    b1:55:f0:64:f6:c5:94:79:64:7b:ec:0a:d7:09:56:
                    30:1d:30:3c:50:30:1a:c4:df:79:46:d3:95:a6:a8:
                    9d:21:f3:d0:90:1f:d0:c3:91:61:6e:3d:70:86:c8:
                    9c:a2:5f:7d:da:d9:31:10:51:b4:f9:ac:98:d0:ef:
                    94:83
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: critical
                CA:TRUE, pathlen:240
            X509v3 Key Usage:
                Certificate Sign, CRL Sign
            X509v3 Subject Key Identifier:
                6B:FC:14:20:72:EE:15:6E:D1:29:7A:4D:40:69:90:F7:AE:B1:3A:FF
            X509v3 Authority Key Identifier:
                keyid:6B:FC:14:20:72:EE:15:6E:D1:29:7A:4D:40:69:90:F7:AE:B1:3A:FF
                DirName:/O=DC2.SMPTE.DOREMILABS.COM/OU=DC.DOREMILABS.COM/CN=.ROOT.DC2.SMPTE/dnQualifier=a/wUIHLuFW7RKXpNQGmQ966xOv8=
                serial:01

    Signature Algorithm: sha256WithRSAEncryption
        7f:a7:f1:20:f2:1e:cf:49:22:d1:67:38:e8:1d:c4:a6:3d:fd:
        df:22:65:42:61:e4:61:56:74:3a:48:9d:a5:ba:5d:1a:33:e5:
        d5:7a:bd:d5:cf:18:08:90:c2:f6:6e:28:39:e2:5a:08:38:ca:
        1a:c1:6d:eb:29:e1:15:38:eb:8a:76:8f:32:fe:61:4a:a7:50:
        f7:b0:b3:b6:53:fa:ed:98:55:b4:9f:87:e7:ce:d3:5d:64:48:
        76:4b:77:34:e4:74:0f:01:59:00:95:33:47:b4:ac:25:4b:45:
        93:30:e1:53:d0:a7:06:26:9e:47:8c:82:17:aa:29:f3:52:c8:
        62:a2:69:f8:6e:28:6a:93:9e:a0:eb:af:fe:f8:fe:02:2a:f1:
        91:a5:fd:da:22:76:81:7f:0c:18:a2:42:56:11:ed:ea:a5:30:
        2b:13:0d:a9:be:0b:d1:36:72:9c:01:37:70:35:e7:27:ae:0f:
        c7:7e:7e:81:55:61:59:88:47:bd:69:1c:5a:c9:ea:d4:73:b9:
        10:f0:a9:67:55:35:06:ba:fe:49:37:a5:2d:4b:ba:de:c0:5a:
        99:8d:8a:b8:c8:84:a5:89:80:35:b9:ec:a9:43:18:8b:30:07:
        0f:d8:67:3c:a4:a4:76:26:bb:30:71:2e:b8:81:6f:94:d8:b1:
        6c:e2:20:b2

 

-----------------------------------------------------------------------------------

 

 

thank you !

 

Andrea

 

 

Link to comment
Share on other sites

This topic is 3918 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.