public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Re: Testing core update 123
       [not found] <866vg4r1p6qm64uevcf2o7j7.1535490441019@email.android.com>
@ 2018-08-29  5:53 ` ummeegge
  0 siblings, 0 replies; 2+ messages in thread
From: ummeegge @ 2018-08-29  5:53 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]

Thanks for reporting back,

Am Dienstag, den 28.08.2018, 22:29 +0100 schrieb Paul Titjen:
> Hi,
> 
> Thanks for the feedback.  That certainly sorted the issue and the
> crypto warning has now gone.  The root cause was that my original
> clean install of 2.21 core120 was then amended  by an old 2.19 backup
> .ipf file.  This has then put back an old version of
> /var/ipfire/ovpn/openssl/oven.cnf  so adding those extended key usage
> lines back in and making new certs did the trick.
This behavior has been fixed https://cgit.ipfire.org/ipfire-2.x.git/commit/?id=291bfda71eb40a20dd4db77bacef84717ad69e82
since we excluded ovpn.cnf from the backup but that´s only one part
since a backup do includes the old certificates with the old key usage
of the digitalSignature in it so they need to be renewed in that case.

> 
> I have been caught out before by this restore of an old backup on a
> newer version of ipfire. My old restore had an include of a php
> extension in the Web server conf. After the restore Web interface
> disappeared on reboot due to apache failing the startup. Using
> command line soon fixed it once having worked out the cause.
> 
> This brings me to the backup ISO not working.  Looking at the script
> it seems that it is downloading the ISO from ipfire download website
> with the core update number used in the source URL  - the 123 iso is
> not yet available to download there and only the stable versions 
> hence the fail.  I am sure it works with 122.  If all it does is get
> a clean iso then that still leaves the issue of breaking a clean
> install by restoring an old backup .ipf or does it build a new
> distribution based on the iso and the existing configuration files as
> a unique ISO for instant recreate of a system.
I think the core number problem in the URL should be fixed too 
https://cgit.ipfire.org/ipfire-2.x.git/commit/?id=f32cbd89d9990b2a1017b7ad19ba98f8d38a5c11


Best,

Erik

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Testing core update 123
       [not found] <002e01d43ef2$2baea2e0$830be8a0$@ministc.com>
@ 2018-08-28 19:00 ` ummeegge
  0 siblings, 0 replies; 2+ messages in thread
From: ummeegge @ 2018-08-28 19:00 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2282 bytes --]

Hi Paul,
an thanks for your feedback. Causing the OpenVPN messages:

Am Dienstag, den 28.08.2018, 18:11 +0100 schrieb Paul Titjen:
> OpenVPN
> Initially had the two crypto warnings so deleted all the cert data
> and then generated new DH parameters with 3076 value.  Then generated
> new certificate data using the 3076 value. This removed the DH size
> warning but still leaves the  following:
>  
> Cryptographic warning
> Your host certificate is not RFC3280 compliant.
> Please update to the latest IPFire version and generate as soon as
> possible a new root and host certificate.
> All OpenVPN clients needs then to be renewed!
>  
>  
> I looked for any settings that I could apply in web GUI to set
> extendkeyusage with TLS Web Server Authentication in the cert
> generation to make the warning go away but could not find a way to do
> this.
The needed changes are already shipped https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=b66b02ab73863bcb9130300d8ef0eecdc51efde3
. To get the needed changes to your certificates and configuration,
 you will need to renew the complete x509 which will also reset all existing clients.
You can find in here https://forum.ipfire.org/viewtopic.php?t=18852#p108144 
a more detailed discussion about this topic whereby OpenVPN provides some infos also 
in here https://community.openvpn.net/openvpn/wiki/DeprecatedOptions#a--ns-cert-type .

It is time until OpenVPN version 2.5 but ns-cert-type will be dropped then.


>  
> +       # Warning if certificate is not compliant to RFC3280 TLS
> rules
> +       if (-f "${General::swroot}/ovpn/certs/servercert.pem") {
> +               my $extendkeyusage = `/usr/bin/openssl x509 -noout
> -text -in ${General::swroot}/ovpn/certs/servercert.pem`;
> +               if ($extendkeyusage !~ /TLS Web Server
> Authentication/) {
> +                       $cryptowarning = "$Lang::tr{'ovpn warning
> rfc3280'}";
> +                       goto CRYPTO_WARNING;
> +               }
> +       }
> +
> +       CRYPTO_WARNING:
>  
> Is OpenVPN going to require critical extends on the certs in the
> future?
Yes, see above.

>  
> Hope this somewhat limited testing information helps.
Great, and thanks.

>  
> Regards,
> Paul
>  
>  
>  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-29  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <866vg4r1p6qm64uevcf2o7j7.1535490441019@email.android.com>
2018-08-29  5:53 ` Testing core update 123 ummeegge
     [not found] <002e01d43ef2$2baea2e0$830be8a0$@ministc.com>
2018-08-28 19:00 ` ummeegge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox