Skip to content

I keep having to search!!! So let's just save it in one place ;)

Notifications You must be signed in to change notification settings

gino247/wso2esb-passwordcallback

Repository files navigation

wso2esb-passwordcallback

I keep having to search!!! So let's just save it in one place ;)

The Vault

Mostly copied from here [http://soasecurity.org/2012/08/12/secure-plain-text-passwords-in-wso2-carbon-configuration-files/]

  1. Stop Server
  2. Configure passwords in /repository/conf/security/cipher-text.properties
  3. Run /bin/cipher[-]tool.[bat|sh] -Dconfigure, supplying master password
  4. Start to confirm all is OK, this will ask for master password
  5. Stop server
  6. Replace all occurances of org.wso2.carbon.securevault.DefaultSecretCallbackHandler, with com.sample.password.callback.handler.HardCodedSecretCallbackHandler, in repository/conf/security/secret-conf.properties, for Enterprise Integration Server to conf/security/secret-conf.properties
  7. Build project, in this repo, with master password. Maybe not the best, but you can call a Rest/Look for an environment variable, or anything you consider secure, to get the master password
  8. Deploy built jar to /repository/components/lib, for Enterprise Integration Server to /lib
  9. Start server, no password prompt should appear

About

I keep having to search!!! So let's just save it in one place ;)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages