I’m just in the middle of setting up a new server for testing and thought I would go with Webmin to act as the manager just to make things nice and simple.

Following the guide here as I have done multiple times in the past I came up with an error.

[[email protected] ~]# rpm --import http://www.webmin.com/jcameron-key.asc
error: http://www.webmin.com/jcameron-key.asc: import read failed(0).

I have to admit not having seen this before but did find a work around I thought I would share.

  1. Open up http://www.webmin.com/jcameron-key.asc in your browser and copy  the output
  2. Login to your server and go to a temp location for me it was /tmp
  3. Create a new file (I use nano, but use whatever you normally do, pico, vi etc)
    $ nano public.gpg.key

    and then paste in the key you copied form the browser. Save the file and exit.

  4. From the CLI then enter
    $ rpm --import public.gpg.key
  5. Voila GPG key installed and you can now use yum to install webmin!

4 thoughts on “Webmin installation problems

  • Many Thanks , all working


  • it was useful and helpful, thanks for the work!


  • Thanks for the post, this resolved my issue!

    BTW- step 5 should be ‘rpm’, not ‘rmp’.


    • Glad it helped, have seen a lot of traffic regarding this issue so I’m guessing that a lot of people are having the same issue. Thanks for spotting the typo too, fixed it.


Leave a Reply

Mojowill Avatar

Who the Hell am I?

I'm Will, a full time web developer, geek and musician. I develop using PHP and MySQL and spend most of my time working with WordPress or CakePHP. When I'm not buried in code I'm gaming, cooking or writing and recording music in my studio. I like sci-fi, pancakes and coffee and am totally prepared for the zombie apocalypse...

Stalk me on these other sites...

Why not be super creepy and check me out on all these other sites, I think they call it social media?

%d bloggers like this: