AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  FTPS problem

    Posted Fri November 26, 2010 11:10 AM

    Originally posted by: niccos


    Hallo,
    I am setting up FTPS connection between two AIX 6.1 servers.
    For the ftp server ( tstsrvp1 ) I followed the indications of rb SG247430 and T1011849 technote.
    Unfortunately does not work; error is always the same:

    root@appsrvp1:/# ftp -s tstsrvp1
    Connected to tstsrvp1.
    220 tstsrvp1 FTP server (Version 4.2 Wed Oct 1 09:40:05 CDT 2008) ready.
    234 Using authentication type TLSv1
    TLS Auth Entered.
    TLS handshake succeeded, though cert had zero depth and Server signed it's own cert!
    Error with certificate at depth 0
    Certificate:
    Data:
    Version: 1 (0x0)
    Serial Number:
    9e:63:d4:e8:53:a6:66:c3
    Signature Algorithm: sha1WithRSAEncryption
    Issuer: C=IT, ST=Italy, L=Florence, O=XXXX
    Validity
    Not Before: Nov 26 15:58:11 2010 GMT
    Not After : Nov 23 15:58:11 2020 GMT
    Subject: C=IT, ST=Italy, L=Florence, O=XXXX
    Subject Public Key Info:
    Public Key Algorithm: rsaEncryption
    RSA Public Key: (2048 bit)
    Modulus (2048 bit):
    00:b7:25:fa:10:78:37:09:26:ee:fa:92:a1:2a:0d:
    39:af:63:99:d2:77:c4:66:df:3b:2e:51:8d:43:7d:
    29:8c:b5:4e:a7:d7:0b:e4:43:5b:9d:ca:df:1d:98:
    5d:5a:9b:a8:8d:8e:f0:35:7c:21:82:ab:af:c0:de:
    54:09:ef:db:be:e7:85:34:eb:df:9d:df:7e:8b:51:
    d4:6b:c0:11:69:e0:dc:84:66:f6:05:85:65:c2:16:
    f2:ee:62:f4:73:a4:4a:09:6c:1f:76:9d:b5:9a:cc:
    c1:5b:8c:8f:01:3f:ce:52:bc:1a:d4:29:8d:f8:3a:
    8a:eb:a2:45:b1:c7:74:82:59:83:43:b1:cd:4d:ae:
    ca:fc:0b:03:d1:44:5e:8c:68:3e:08:df:54:cf:38:
    69:1b:34:03:ac:2b:99:cc:bf:65:45:61:d6:af:11:
    df:7a:1c:cc:a4:05:1d:43:6f:2d:cb:0f:9d:95:ad:
    e1:f8:d9:50:8a:4c:f3:1f:0b:ed:22:4d:c7:9f:7e:
    07:46:ba:db:ff:4b:03:d0:30:19:0f:98:86:f7:02:
    bc:af:ff:27:cc:ca:97:2e:cd:0b:70:64:85:c5:df:
    84:ee:76:de:d2:a4:ad:88:d0:5f:0f:48:a3:40:75:
    de:d0:b0:cd:56:01:d2:c8:d1:54:ca:14:cc:8a:3c:
    c8:a7
    Exponent: 65537 (0x10001)
    Signature Algorithm: sha1WithRSAEncryption
    27:ba:05:0c:1e:a0:c3:0b:90:de:88:5f:a7:13:7d:9d:f8:bb:
    16:29:e8:e8:e9:8d:d3:67:71:73:da:0b:93:2a:26:65:c6:3f:
    ff:d0:82:75:45:52:45:82:eb:48:dd:92:cf:88:6a:df:9d:ab:
    9b:1f:d3:da:57:6d:fb:3f:88:8c:12:0c:82:4e:be:a6:bb:fc:
    9d:42:3d:93:5e:6d:9a:b6:07:29:f7:da:f9:19:6e:7c:2a:cb:
    8a:25:91:17:0d:80:72:cc:70:e5:98:ec:43:51:2a:3a:59:0a:
    19:2b:c7:c0:c1:f9:f8:5a:e2:b7:0c:dc:b9:72:61:49:2c:dc:
    5a:70:33:fb:c9:e5:4f:aa:41:36:9a:1d:ea:58:a7:d9:28:3d:
    9c:c2:8d:9a:10:04:54:b7:02:1e:ee:7c:b2:70:d5:30:76:9b:
    4d:08:ad:db:53:ec:fc:1f:bc:d0:65:68:8c:b9:b2:36:69:9c:
    c9:de:67:88:57:19:e0:9f:16:18:a8:6e:db:85:50:53:5d:1b:
    04:83:78:2b:c5:7c:1c:c8:a9:ab:51:fa:33:0e:94:f1:c2:7e:
    7a:cc:d0:33:cf:9b:f7:bc:e1:0b:cb:f0:6c:0e:a3:d7:3b:46:
    b9:46:70:91:bf:64:ca:74:73:01:0d:fe:41:c2:f5:ce:97:4d:
    2c:75:ee:7b
    Error error 7:certificate signature failure

    error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed
    ERROR Error during the hand shake for the control connection
    error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib
    ERROR Error setting BIO object for the control connection
    FTP: Unable to authenticate to Server.
    root@appsrvp1:/#

    Can you help me?

    Thanks in advance and greetings.
    #AIX-Forum