Set ASDM password for ASA 5505

You should set a password on your Cisco ASA 5505 even if you don’t have remote management set up. If a computer inside your network gets hacked, it could be used to gain access to the firewall.

To set the enable password on your Cisco ASA 5505:

  1. Get into the command line. I prefer using the console cable to directly connect.
  2. Hit enter a few times to get the prompt.
  3. Type ‘ena’ to enter enable mode.
  4. Type ‘config t’ .
  5. Type ‘enable password PaSsWoRd’ , replacing the second, ‘PaSsWoRd’ with desired password.

Now when you enter enabled mode in the console you’ll be prompted for a password. When you log into the ASDM you leave the Username field blank, and type in only your enable password in the Password box.

10 thoughts on “Set ASDM password for ASA 5505

    1. Anthony Curreri

      You must know the enable password if you were able to follow these steps–that password should be the same for the ASDM. Are you getting the login prompt at the ASDM? The default is both username and password as blank, if you have a password set I believe you leave the username blank and type in the enable password.

      Reply
  1. Nick

    Thanks Anthony. I can access CLI and “ena” password works and I can make changes from the CLI. I am getting the following when trying to access ASDM.

    I have also enabled http on the ASA by running “http server enable”

    OK button clicked
    Trying for ASDM Version file; url = https://172.16.220.254/admin/
    java.io.IOException: Server returned HTTP response code: 401 for URL: https://172.16.220.254/admin/version.prop
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.w.a(Unknown Source)
    at com.cisco.launcher.s.for(Unknown Source)
    at com.cisco.launcher.s.do(Unknown Source)
    at com.cisco.launcher.s.void(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$400(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Trying for IDM. url=https://172.16.220.254/idm/idm.jnlp/
    Not IDM.

    Reply
    1. Anthony Curreri

      You shouldn’t need to enable http to get to the ASDM.

      I’ve never seen that message before, but I haven’t used one of these devices in a few years. I googled up this page: https://supportforums.cisco.com/docs/DOC-15016

      Do you think this could be the problem?

      ASDM Launcher Fails

      ASDM access worked previously via https://10.76.75.48, but fails when using the shortcut on your desktop.

      Resolution

      ASDM launcher does not work with 64-bit Java version on Windows. You will have to access ASDM from your web browser.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>