Auto-certificate and Chrome

Started by balubeto, October 14, 2018, 05:54:28 PM

Previous topic - Next topic
You should not generate a certificate. A SSH key is generated on the command line using the following command:

ssh-keygen -t ed25519

If you use putty, you can use the puttygen tool to generate a new key pair.

Quote from: fabian on October 17, 2018, 06:33:45 PM
You should not generate a certificate. A SSH key is generated on the command line using the following command:

ssh-keygen -t ed25519

If you use putty, you can use the puttygen tool to generate a new key pair.

With PuttyGen, I created a copy of keys and then tried to connect with the firewall but it displayed the "Server refused our key"message .  How come?

Thanks

Bye
balubeto

then you have pasted the wrong format.. I don't have putty but I am pretty sure it supports the correct openssh format for public keys.

Being able to act on the OPNsense VGA console, how do I disable the https protocol and enable the http protocol so that I can again access the GUI using the last protocol?

Thanks

Bye
balubeto

It usually asks if you reconfigure an interface.

Quote from: fabian on October 19, 2018, 06:46:08 PM
It usually asks if you reconfigure an interface.

I'm sorry, how do I reconfigure an interface?

Thanks

Bye
balubeto



Thanks to you, I have been able to access the GUI via the http protocol.


I want, however, to use the https protocol, I created again the chain of self-certificates described by your guide.


Now, I attach the Certificates page because I would like you to tell me which button I should click to export this certificate to be able to import it and use it in Chrome.


Thanks


Bye
balubeto

I don't know how it is called in your language but you should use the export certificate button which does NOT include the private key.

Quote from: fabian on October 21, 2018, 09:05:54 PM
I don't know how it is called in your language but you should use the export certificate button which does NOT include the private key.

In English, what is this button called and where is it?

Thanks

Bye
balubeto

Hey balubeto, you did not do what is on that wiki page, at least not exactly, I can tell from that picture^^

To prevent things going wrong, remove that chain create the chain(again) following that wiki page by the letter.

If you did that, export ca crt, button is the same name.

Greetings, mark

Also, the reason it's (probably) not working in Chrome/Chromium is because of 'SAN' - Subject Alternative Name'.

Now I would like to see the filled in 'CN -Common Name' to be translated to 'SAN' automatic, but that's not the case - devs?

So, you should translate that to the form exactly. If you did that there is no guaranty from me that it works the way you expect (in Crome).

Change to a different browser if you insist on using self-signed certs., would make it easier on you  :D

Greetings, mark

As your guide has not been updated, in attachment, I have summarized the two tables of the Trust in English.

Now, I would like to know if you find something wrong and how I can export the certificate so that Chrome can use it without any problems.

Thanks

Bye
balubeto

I quote from the wiki
QuoteThe thirth certificate will be a server certificate signed by the intermediate CA we just created. This will also be the last one we create for this chain.
The certificate you have generated is neither a server or a CA.

Greetings, mark

Quote from: qinohe on October 22, 2018, 06:54:11 PM
I quote from the wiki
QuoteThe thirth certificate will be a server certificate signed by the intermediate CA we just created. This will also be the last one we create for this chain.
The certificate you have generated is neither a server or a CA.

Greetings, mark

Sorry, but I only created a self-certificate.

Thanks

Bye
balubeto