Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
24.10 BE upgrade CRL errors
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: 24.10 BE upgrade CRL errors (Read 1346 times)
TotalGriffLock
Newbie
Posts: 24
Karma: 1
Re: 24.10 BE upgrade CRL errors
«
Reply #30 on:
November 08, 2024, 02:18:16 pm »
Is from updates, not a fresh install. Literally upgraded to 24.10_7 last night and it happened immediately.
I had HTTP_PROXY and HTTPS_PROXY set in the configd template and neither the gui nor update-crl-fetch.py worked. Adding http_proxy and https_proxy in the configd template made update-crl-fetch.py work, but the gui still not. Removing the file from /tmp made no difference - it would just be recreated. I ticked the Auto add CRLs tickbox and went to sleep, and when I woke up it was fixed.
I
think
that when I looked at the contents of the file, it just contained:
Code:
[Select]
# [i] fetch certificate for https://opnsense-update.deciso.com
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: 24.10 BE upgrade CRL errors
«
Reply #31 on:
November 08, 2024, 02:29:54 pm »
Ok probably have to see why the lowercase is better but we did look at the Python code and it said:
https://tedboy.github.io/python_stdlib/_modules/urllib.html#getproxies_environment
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: 24.10 BE upgrade CRL errors
«
Reply #32 on:
November 08, 2024, 02:47:49 pm »
I tested and it indeed uses both vars no matter what case the environment var was in (even mixed works). Leads me to believe there may have been a typo in the original ones? Or the environment setup is not correct in configd (misses one?).
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: 24.10 BE upgrade CRL errors
«
Reply #33 on:
November 08, 2024, 03:01:47 pm »
Also added
https://github.com/opnsense/core/commit/a86c7106ed
to verify proxy.conf was added properly and it was (as documented). The only caveat is that configd needs to be restarted when adding/editing/removing the file.
# service configd restart
# configctl configd environment
Cheers,
Franco
Logged
Print
Pages:
1
2
[
3
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
24.10 BE upgrade CRL errors