<div dir="ltr"><div>Hi,<br><br>I'm having issues when using https (and undionly.kpxe)<br>When chaining a https URL I'm getting: "Operation not supported (<a href="http://ipxe.org/3c00e103">http://ipxe.org/3c00e103</a>)" (We're using "real" certificates, so not self-signed.)<br><br>I also tested on e.g <a href="https://google.com">https://google.com</a> and here it works (no https error)<br><br>Recompiled with DEBUG=asn1 and it seems that the unrecognised algorithm is part of a certificate. <br>See screenshot at <a href="http://snag.gy/j2i8a.jpg">http://snag.gy/j2i8a.jpg</a><br><br>I'm testing with ipxe current from git (commit 6b7157c233541a4cb3c90021e8ca219b0b5dd358)<br><br>iPXE 1.0.0+ (6b71) -- Open Source Network Boot Firmware -- <a href="http://ipxe.org">http://ipxe.org</a><br>Features: DNS HTTP HTTPS iSCSI TFTP AoE ELF MBOOT PXE bzImage Menu PXEXT<br><br>Fiddling with the code, basically ignoring the errors, it works.<br></div><br><div>diff --git a/src/crypto/asn1.c b/src/crypto/asn1.c<br>index aca12bf..6715685 100644<br>--- a/src/crypto/asn1.c<br>+++ b/src/crypto/asn1.c<br>@@ -507,7 +507,8 @@ int asn1_algorithm ( const struct asn1_cursor *cursor,<br>        if ( ! *algorithm ) {<br>                DBGC ( cursor, "ASN1 %p unrecognised algorithm:\n", cursor );<br>                DBGC_HDA ( cursor, 0, cursor->data, cursor->len );<br>-               return -ENOTSUP_ALGORITHM;<br>+               //return -ENOTSUP_ALGORITHM;<br>+               return 0;<br>        }<br><br>        return 0;<br>diff --git a/src/crypto/x509.c b/src/crypto/x509.c<br>index 00eb226..c42bc52 100644<br>--- a/src/crypto/x509.c<br>+++ b/src/crypto/x509.c<br>@@ -1763,7 +1763,8 @@ int x509_validate_chain ( struct x509_chain *chain, time_t time,<br>        }<br><br>        DBGC ( chain, "X509 chain %p found no usable certificates\n", chain );<br>-       return -EACCES_USELESS;<br>+       //return -EACCES_USELESS;<br>+       return 0;<br> }<br><br></div></div>