setCrtFileSelector
WESTERMO-SW6-MIB ·
.1.3.6.1.4.1.16177.1.400.1.4.6.2
Object
scalar r/w
Integer32
Set this field to select which file should be downloaded/uploaded
via the rpcCrtFile.
* **0** means legacy HTTPS. Upload/download certificate and key from
the same url with a .crt and .key extension.
* **1** means HTTPS certificate
* **2** means HTTPS key
* **100** means certificate for wlan0, 101 for wlan1 and so on
* **200** means private key for wlan0, 201 for wlan1 and so on
* **300** means CA certificate for wlan0, 301 for wlan1 and so on
* **400** means CA2 certificate for wlan0, 401 for wlan1 and so on
* **500** means CRL certificate for wlan0, 501 for wlan1 and so on
* **600** means CRL2 certificate for wlan0, 601 for wlan1 and so on
* **700** means PKCS#12 container for wlan0, 701 for wlan1 and so
on
* **10xxx** means upload/download the 'next' file which will be
installed during next reboot or by calling `rpcCrtRefresh`. So a
value of **10203** means next private key for wlan3.
To disable the CA certificate verification on 802.1X write the
following string into the ca file (e.g. wlan0ca(300)):
~~~
DISABLE CA CERTIFICATE VERIFICATION. THIS WILL ALLOW A 3RD PARTY TO CAPTURE MY PASSWORD. I KNOW WHAT I AM DOING.
~~~
Applies to AP and STA.
Context
- MIB
- WESTERMO-SW6-MIB
- OID
.1.3.6.1.4.1.16177.1.400.1.4.6.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- setCertificate
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-MIB::setCrtFileSelector.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-SW6-MIB::setCrtFileSelector'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-10715
Conformance
Member of