LOTW Certificate Import #1526
Replies: 9 comments 10 replies
-
Hmm, is the p12 password protected if so the system will just dump it, if not then bit more debugging required I'd suggest making sure everything in Admin -> Debug is green, might need to turn on the logging options in Codeigniter to see whats going on deeper in the code |
Beta Was this translation helpful? Give feedback.
-
No errors unfortunately. |
Beta Was this translation helpful? Give feedback.
-
OK, set $config['log_threshold'] = 4; |
Beta Was this translation helpful? Give feedback.
-
Here is what I get there:
INFO - 2022-09-19 12:55:51 --> Helper loaded: form_helper
INFO - 2022-09-19 12:55:51 --> Language file loaded:
language/english/lotw_lang.php
INFO - 2022-09-19 12:55:51 --> Model Class Initialized
INFO - 2022-09-19 12:55:51 --> Model Class Initialized
INFO - 2022-09-19 12:55:51 --> Upload Class Initialized
INFO - 2022-09-19 12:55:51 --> Model Class Initialized
*ERROR - 2022-09-19 12:55:51 --> Severity: Notice --> Undefined index: cert
/var/www/html/application/controllers/Lotw.ph*
*p 392*
*ERROR - 2022-09-19 12:55:51 --> error:0308010C:digital envelope
routines::unsupported*
INFO - 2022-09-19 12:55:51 --> Config Class Initialized
INFO - 2022-09-19 12:55:51 --> Hooks Class Initialized
DEBUG - 2022-09-19 12:55:51 --> UTF-8 Support Enabled
INFO - 2022-09-19 12:55:51 --> Utf8 Class Initialized
INFO - 2022-09-19 12:55:51 --> URI Class Initialized
INFO - 2022-09-19 12:55:51 --> Router Class Initialized
INFO - 2022-09-19 12:55:51 --> Output Class Initialized
My cert is one that does not have a password assigned to it. However, the
very first time I did this a long time ago, it did and failed.
I cleared all of the old certs out of the upload folder.
…On Mon, Sep 19, 2022 at 3:49 AM cyfrax ***@***.***> wrote:
OK, set $config['log_threshold'] = 4;
in config.php but application/logs/ still empty after trying to upload a
lotw cert.
anywhere else to enable debug logging?
—
Reply to this email directly, view it on GitHub
<#1526 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSR3BCPWGFE6M2SVQ4LJ3V7ASJTANCNFSM52X7LKAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have the same as you, except that I have two directives listed beneath
it, each with no value:
openssl.cafile
openssl.capath
…On Mon, Sep 19, 2022 at 8:52 AM Florian (DF2ET) ***@***.***> wrote:
Seems that is an issue concerning the SSL cert stuff. U have OpenSSL
installed and enabled for PHP? This is a sample output from phpinfo() on my
system:
[image: Screenshot from 2022-09-19 15-51-35]
<https://user-images.githubusercontent.com/7112907/191033378-3f4ce373-36ab-4537-853e-6233bde46a44.png>
—
Reply to this email directly, view it on GitHub
<#1526 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSR3EAL7QN5WMRRYV2DIDV7BVZLANCNFSM52X7LKAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Fixed it.. Ubuntu 22.04 issue.
diff -uN /etc/ssl/openssl.cnf\~original /etc/ssl/openssl.cnf for Nextcloud
with OpenSSL 3 · GitHub
<https://gist.github.com/rdh27785/97210d439a280063bd768006450c435d>
Add the legacy provider to openssl.cnf
On Mon, Sep 19, 2022 at 11:28 AM Jeffrey Randow ***@***.***>
wrote:
… Actually, it is...
I do:
openssl pkcs -clcerts -nokeys -in certfile.p12 -out cert.crt
and get:
error: 0308010C: digital envelope
routines:innder_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Did ARRL update the certificate settings for new certificates?
On Mon, Sep 19, 2022 at 10:57 AM Florian (DF2ET) ***@***.***>
wrote:
> Ok so this is not the issue then .... :(
>
> —
> Reply to this email directly, view it on GitHub
> <#1526 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AANSR3DQFGRB2O52QQPSWD3V7CENHANCNFSM52X7LKAA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, that did the trick for me as well. Cert uploads and activates fine now. Thanks Jeffrey!! |
Beta Was this translation helpful? Give feedback.
-
Actually, it is...
I do:
openssl pkcs -clcerts -nokeys -in certfile.p12 -out cert.crt
and get:
error: 0308010C: digital envelope
routines:innder_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Did ARRL update the certificate settings for new certificates?
…On Mon, Sep 19, 2022 at 10:57 AM Florian (DF2ET) ***@***.***> wrote:
Ok so this is not the issue then .... :(
—
Reply to this email directly, view it on GitHub
<#1526 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSR3DQFGRB2O52QQPSWD3V7CENHANCNFSM52X7LKAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Nope...
…On Fri, Sep 16, 2022 at 12:25 PM Florian (DF2ET) ***@***.***> wrote:
Any errors in the web server log?
—
Reply to this email directly, view it on GitHub
<#1526 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSR3AFL6WRPXGILKQVWWLV6SUSHANCNFSM52X7LKAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe someone out there can give me a hint. I'm running the master branch of ClouldLog on Ubuntu 22.04LTS with PHP 7.4.
Everything is fine except for import my P12 cert. It gets uploaded to the ./uploads/lotw/cert folder, but I just get returned to screen where it says I need to import a certificate.
Haven't found anything here or in issues related to this.
Beta Was this translation helpful? Give feedback.
All reactions