4

How to install our own SSL key and certificate on a SG-300-10 switch?

The manual simply doesn't seem to bear much resemblance to what's available in the web interface.

According to the manual, one should navigate to "Security > SSL Server > SSL Server Authentication Settings". But the only entries under Security are TACAS+, RADIUS, Password Strength, Management Access Authentication, Mgmt Access Method, TCP/UDP Services, Storm Control, Port Security, 802.1X, Denial of Service Prevention.

And, having looked through the other menus, I can't find anywhere else where this could be configured.

Similarly with SSH keys. The manual talks about web interface pages called "SSH User Authentication" and "SSH Server Authentication", but the web interface I see does not have pages with these titles. How would I go about reconfiguring, or even viewing, the SSH keys on the device?

3
  • What is the IOS release on your switcth? In order to support encryption, you need to make sure that you have the right IOS installed. Refer to this link for the CLI commands. This link will help you understand the required IOS release for your requirements.
    – AdnanG
    Commented Sep 12, 2013 at 11:59
  • SG-300's are not FULL IOS devices, they are from the small business line and run an operating system that has slightly different syntax and drastically different functionality. Commented Dec 12, 2013 at 1:03
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Commented Aug 8, 2017 at 21:40

3 Answers 3

2

I use an SG300 at home as my core switch. Getting SSH set up is not too bad:

conf t
crypto key generate rsa
ip ssh server
end

That will generate the SSH key and enable the SSH server. If you question-mark your way along those command structures you will find some options.

You can view the public and private RSA SSH keys with:

show crypto key rsa

I've not done an SSL cert import myself, but looking through the CLI I'd take a stab at the following:

conf t
crypto certificate 1 import
ip https certificate 1

There are two "slots" for certificates, so you can specify slot 1 or 2 for the import or a self-signed certificate generation.

The import function does not seem to have an option to install a PKCS12 certificate, so you may need to import the private key separately with:

conf t
crypto key import rsa

I'm not 100% sure on the SSL setup, but the SSH key setup above works.

0

Related to what AdnanG said, check the firmware version on your switch. I have an SG300-28P, running version 1.3.7.18, and I see the "SSL Server | SSL Server Authentication Settings" section exactly where the manual says it should be.

0

you need to change your Display mode from Basic to Advanced

1
  • 1
    Welcome on this stack exchange site. Please consider adding some details to your answer to improve it, for example how your suggestion helps and how to actually do this.
    – Teun Vink
    Commented Oct 1, 2019 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.