B2C Commerce supports the Public Key authentication method for Secure File Transport Protocol (SFTP).
Use a SFTP client that supports key authentication and integrates with the self-service Private Keys and Certificates user interface on Business Manager. To use key authentication, SSH keys must be converted to PKCS#12 format. Customers must perform the key conversion themselves.
As an example, here is how to wrap a private key named testing_id_rsa:
openssl req -new -days 3650 -key testing_id_rsa -out testing_id_rsa.csr openssl x509 -days 3650 -signkey testing_id_rsa -req -in testing_id_rsa.csr -out testing_id_rsa.cer openssl pkcs12 -export -out testing_id_rsa.p12 -inkey testing_id_rsa -in testing_id_rsa.cer -certfile testing_id_rsa.cer
The key can then be used by the Jsch SFTP client via the following APIs...
public void setIdentity( String identity, String passphrase );public void setIdentity( dw.crypto.KeyRef keyRef );
... OR via the services framework:
createRequest: function(svc:SFTPClient, req) { svc.client.setIdentity(KeyRef("test_id_rsa", svc.configuration.credential.password)); }
000391444

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.