Type of Thingerio Webserver?

Hello thingerio team! @alvarolb

Related to platform deployment, what kind of webserver are thingerio use?
I already used my own VPS with thingerio platform installed to connect to several embedded device and so far it is quite good. But when i tried to install the SSL certificate, it always asks by certificate provider the type of webserver that we use.
So, to avoid SSL misconfiguration, could you inform us the type of webserver in the thingerio platform?

Cheers!

Okay, i tried around a week and got problem regarding SSL installation.
This is because we got 2 files from certificate provider : the one is *.ca file and the other is *.crt file. The CA file must be installed to the server in order to finished SSL implementation in our server. But, unfortunately there are no *.ca file by default on thingerio to replace with new one. So, i can’t use my *.ca file from certificate provider.

I just use *.crt file, and when i accessed my server in several browser like chromium or chrome, there are warning regarding insecure connection.

When i consult with my certificate provider, they asked me what type of webserver am i using. It is very important to SSL configuration.
I still don’t have a clue.

Hi @astonix you need to use PEM format for setting your SSL certificate, like in any Apache or Nginx. Did you check the format of the default certificates? Check out some posts that may help:

Hi @alvarolb,

Yes, i already checked the default certificates.
I got the same type of files from certificate authority,there are CA bundle that consists of : *.ca file and *.crt file. The .crt one i put below the default file in server.crt. Then, the *.ca file i put separate directory under “certificates” directory which named “CA_bundle”. Then i added new line on config.json file like this :

“ssl_certificate_CA” : “certificates/CA_bundle/file_name.ca-bundle”,

I did that based on suggestion from Technical Support team from certificate provider.

Then, i tried to restart the thingerio service, but still failed.

Hi @astonix, you cannot change the key to ssl_certificate_CA, as the server will not be looking for that in the boot, it should be just ssl_certificate for the file containing the public certificate (cut), and the ssl_certificate_key pointing to the certificate private key (.key).

The public certificate (.crt), will look like this:

-----BEGIN CERTIFICATE-----
MIIGUTCCBDmgAwIBAgIJAM11zz3Uxa3EMA0GCSqGSIb3DQEBBQUAMHgxCzAJBgNV
BAYTAkVTMQ4wDAYDVQQIEwVTcGFpbjEPMA0GA1UEBxMGTWFkcmlkMRMwEQYDVQQK
EwpUaGluZ2VyLmlvMRIwEAYDVQQDEwlsb2NhbGhvc3QxHzAdBgkqhkiG9w0BCQEW
EGFkbWluQHRoaW5nZXIuaW8wHhcNMT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TAkVTMQ4w
DAYDVQQIEwVTcGFpbjEPMA0GA1UEBxMGTWFkcmlkMRMwEQYDVQQKEwpUaGluZ2Vy
LmlvMRIwEAYDVQQDEwlsb2NhbGhvc3QxHzAdBgkqhkiG9w0BCQEWEGFkbWluQHRo
aW5nZXIuaW+CCQDNdc891MWtxDAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUA
A4ICAQCZGBZoUvhC3nTTZYLJAWafAWnd8VWi2Ty/3R2flINqebWgxaySnItZxed1
fRLATB+VHDxTyqG1LuWIe80uF2U+wIOFfGcl8KvuNSohLVuy99xZInPiYVLIpgka
TyiFZrifw5UyF+89LYBAgdIRZG+gl+ZghWyIYRCgUW4oEgTfxadKx2f9F5YATXjX
te8igzV4GRfjBBWZDQqUY2lGIWeJRM60p9Ossf1cOsvxSYQJYcoOrgaVi+lX5Fz+
xfqMvR5D+jppLmIp3kVKz/MAfrLCvpHxAihDDfnfsX5a5/97ZSFioyI90R+9Dl6+
2+R9A/fA8LTPntGM2bB5ftSTZVZNigMGtAMqPEkKt2HVZ7TAa1vPfzkOL53mSRqF
DXDfkW3rO5aCwWhAClW4H3IaXAjvdp0kQ/td0AnPeaVmsPLmHKIhRAxwgxZ/o5yy
9+o3KzEQrvT94/ii1sr/Nim/lzVKcJm82vnwkNttvJiiA97A5RE8HwXUlPe15gic
LZaO0iTrwK69McemYWVsH1hn004xOo8mXsVrZbVnCXV12h7LgRV1gZ+XcfWE2xEH
FDOu3Kgve7OvhSi9b4zZdAku4rEh7dMbkDyBTA0SbGPtd/Vexa8DF40oYypohk4W
1qOakhbeNKRhaOeNIugJN5E5S1ppe8WmpNRamaWLhB2cb6YRew==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...

The private key (.key), uses to be a private key in RSA, like:

-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAnzXdb0d9L5TrascAd7Q65rAmcvU1yVsb8GFiyN2JjMHgDpK3
kQcZmOt31XQ/G44Xh+bp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l4jLw2c/6ZQ7WDYhTRqR84nL8fcaaBAkTKrP4wDzfvTcwsDGZ9E
GmnMOSykYVpP415EnyYN+zMCB/2nUQBcUFTNUdEII4mtz+e3OuuNc4l0e3O59tk4
BgkdKz35quNNbcmoh/HHRZR0X5cHoyRv1DIcfRiffbbC3kcHJNzwDWV4C3zcVHr8
CyMPHg76vTH70xxiEYFLWCBZ6xp0jpNjB+lRL3SIPmQEApmpsHKnVjcSVKRCRWt5
cBtNAoIBAAUNirOBvW3iqAXU3nigEAEULA8P3139fn88sBql4ChbCBhCuVYjLxio
5Zn/LJlrVUSgQkr7gqyseg9ne73pD1ijNXK6D+oajfSadkb0MjM+tFFGVUiK03Zd
mcVkwmKjKxe88EU1B6ctAwC3JizHnUzQhu1yZleUCVZKNaHQXME0BB3BHr5LTQ4u
+pcvffuu7jrZtXxDVmt0ldIgXOxwA9xqygA/7EVBaj38IGzsYNRgmjyQrx/7JzD4
/yiSqZm8e1GquFZiq4dv+9YKK92+KTtpO+/Ijp7AigZIQzEPevDtPFH7UFt+OUku
BL9UivgN46S8qzRri22qEbsdmo7gJA0CggEBAIEEsk+gh77S7Neddt2pHDwoiipT
DBIlaipDckP1lOp3D4WGU9Kzx5deZkEz0JBJYvb+TyWNIvE+v/ydiYO714kMEaQR
O3nBguERKb3ChePw+bjGj9Qa7b4/vHnVvB11it9aqYOqTThbsEwRD1RWfa+LUP8R
xmoGVOE6z9SC5DupXKAoQdNho71WVwluc3j8um4puyKJPNaZq3aGna+cZ05Oi6oK
Ev8GqxmVnNjNEVpEf49ANW6sq3eXl/36PP6cvFUVZX+nuezHjhmaNMd3EGMUjUEo
hgq9Usx+jfBG3VAyz7T+Iw4S67IgWF1+eDfuVmJ2QGG6AkapaZqyU/q6ep4=
-----END RSA PRIVATE KEY-----

As I undertand, this kind of files are the common files for configuring SSL in apaches, nginx, and so on. So, you must be sure about what is your public key, your private key, what format they have, etc. (you can open them with a text editor)

1 Like

Hello!

Thanks for your detailed answer, it matter to me. I reissue for the CSR and got private key also. I installed certificate both .crt and .key, and it’s work!
Thank you!

Aston

1 Like