For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

John_Ogle_45372's avatar
John_Ogle_45372
Icon for Nimbostratus rankNimbostratus
Jul 21, 2014

How to encrypt passwords in bigip.conf

Is it possible to encrypt monitor passwords while they are stored in the bigip.conf file? For example, for http monitors using Basic authentication. Something similar to the "service password encryption" command on cisco devices?

 

1 Reply

  • Nothing that I am aware of.

     

    You have to understand that most password encryption schemes are designed around never needing the plaintext version of a password, so they use a one way hash to encrypt the password securely.

     

    In the case of a monitor, the plain text password needs to be known so it can be sent in the monitor request. You can use the cisco method, which is not encryption but instead a reversible formula, or you could use a 2-way encryption method and store the secret key for this somewhere else. Both become pretty useless in what you are trying to solve here. If I can gain access to the bigip.conf, you also have access to whatever method was used to encrypt the password.

     

    What I usually do is weigh the risk of having a password in the config vs the risk of shutting off authentication for the monitor page vs the advantage that using an authenticated monitor gives you. In some cases like Exchange CAS servers, using authentication to verify the CAS server can open a mailbox is useful, in other cases where a monitor page just says UP or DOWN, we usually can disable authentication for that particular page.