For security reasons, it is recommended that you avoid storing clear passwords in a file. The Genero Web Services Extension enables the password encryption of a HTTP Authenticate entry in the FGLPROFILE file. The encrypted password is decrypted by the Genero Web Services engine when required.
Summary:
The Genero Web Services package provides a command line tool called fglpass. The fglpass tool can encrypt a password from a X.509 certificate. The encrypted password is displayed on the console in a Base64 form, composed only of alphanumeric characters, and therefore easily usable in any text file.
Notes:
authenticate.myentry.login = "fourjs"
authenticate.myentry.password = "mypassword"
security.mykey.certificate = "MyCertificate.crt"
security.mykey.privatekey = "MyPrivateKey.pem"
$ fglpass -c MyCertificate.crt
Enter password :mypassword
BASE64 BEGIN
dBy3E5JCVxuoxsR+aOBVfp1j0SwQPt+hdjpMKriWvO2xMd5rFnFEwv+sPPd4w/onWviG0M5mqubBeS7QUlt/ZK0D1aO9/R5RVa5wylQu
//6vxfyd8NG/SFJmlVH63kuyXfiVfq6bHo5+nlQZpVjSHfF2msET3S9HTpZUt4NblP4=
BASE64 END
authenticate.myentry.login = "fourjs"
authenticate.myentry.password.mykey = "dBy3E5JCVxuoxsR+aOBVfp1j0SwQPt+hdjpMKriWvO2xMd5rFnFEwv+sPPd4w
/onWviG0M5mqubBeS7QUlt/ZK0D1aO9/R5RVa5wylQu//6vxfyd8NG/SFJmlVH63kuyXfiVfq6bHo5+nlQZpVjSHfF2msET3S9HTpZUt4NblP4="
uthenticate.myentry.login = "fourjs"
authenticate.myentry.password = "mypassword"
security.mykey.subject = "Georges"
$ fglpass -s Georges
Enter password :mypassword
BASE64 BEGIN
dBy3E5JCVxuoxsR+aOBVfp1j0SwQPt+hdjpMKriWvO2xMd5rFnFEwv+sPPd4w/onWviG0M5mqubBeS7QUlt/ZK0D1aO9/R5RVa5wylQu//6vxfyd8NG
/SFJmlVH63kuyXfiVfq6bHo5+nlQZpVjSHfF2msET3S9HTpZUt4NblP4=
BASE64 END
uthenticate.myentry.login = "fourjs"
authenticate.myentry.password.mykey = "dBy3E5JCVxuoxsR+aOBVfp1j0SwQPt+hdjpMKriWvO2xMd5rFnFEwv+sPPd4w
/onWviG0M5mqubBeS7QUlt/ZK0D1aO9/R5RVa5wylQu//6vxfyd8NG/SFJmlVH63kuyXfiVfq6bHo5+nlQZpVjSHfF2msET3S9HTpZUt4NblP4="