IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Getting Error While sending an Encrypted mail using SMTP

  • 1.  Getting Error While sending an Encrypted mail using SMTP

    Posted Mon March 16, 2009 08:39 AM

    Hi All,
    We are trying to send Encrypted mail (S/MIME) using S/MIME.
    After service ‘createEncryptedData’ we are generating ‘sMimeEnvStream’ which we are passing to ‘mimeStream’ of smtp service.

    But smtp service is throwing following Exception:
    ava.lang.ClassCastException: com.wm.util.Values
    at pub.clientimpl.smtp(clientimpl.java:351)

    But when we map ‘envStream’ generated by ‘getEnvelopeStream’ to ‘mimeStream’ message gets sent successfully (but without Encryption :frowning: ).

    We are using IS: 6.5
    Generated Private Key Certificate using: OpenSSL
    Generated Public Key Certificate using: Windows Certificate Management Tool.

    Any help in this regard is appreciated.

    Regards,
    Abhishek


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods