Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2024, 09:11 AM   #1
paperscreen
Enthusiast
paperscreen began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2023
Device: K3
update-ca-certificates: Permission denied

I am trying to update certs for K3 and I am getting this error:

/etc/ssl/certs$ update-ca-certificates
-sh: update-ca-certificates: Permission denied

Using WinSCP and it looks like I am log in as a root.

/etc/ssl/certs$ ls -l $(which update-ca-certificates)
-rw-r--r-- 1 root root 13831 Jan 19 14:27 ca-certificates.conf
paperscreen is offline   Reply With Quote
Old 01-19-2024, 11:45 AM   #2
paperscreen
Enthusiast
paperscreen began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2023
Device: K3
I added execute permission for update-ca-certificates with:

chmod +x /usr/sbin/update-ca-certificates

And then I modified update-ca-certificates file and looks like was able to update certs:

/$ update-ca-certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

Now I have bunch of pem certs in ssl/cert folder.

Unfortunately still not able to get secure connection with webpages.

Then

Deleted all in ssl/cert folder and updated again:

/etc/ssl/certs$ update-ca-certificates
Updating certificates in /etc/ssl/certs...
openssl:Error: 'rehash' is an invalid command.

Standard commands
asn1parse ca ciphers crl crl2pkcs7
dgst dh dhparam dsa dsaparam
ec ecparam enc engine errstr
gendh gendsa genrsa nseq ocsp
passwd pkcs12 pkcs7 pkcs8 prime
rand req rsa rsautl s_client
s_server s_time sess_id smime speed
spkac verify version x509

Message Digest commands (see the `dgst' command for more details)
md2 md4 md5 rmd160 sha
sha1

Cipher commands (see the `enc' command for more details)
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb aes-256-cbc
aes-256-ecb base64 bf bf-cbc bf-cfb
bf-ecb bf-ofb cast cast-cbc cast5-cbc
cast5-cfb cast5-ecb cast5-ofb des des-cbc
des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb
des-ede-ofb des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb
des-ofb des3 desx idea idea-cbc
idea-cfb idea-ecb idea-ofb rc2 rc2-40-cbc
rc2-64-cbc rc2-cbc rc2-cfb rc2-ecb rc2-ofb
rc4 rc4-40

140 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

It seems like the update-ca-certificates command has run successfully, and 140 certificates were added. The warning about 'rehash' being an invalid command can be safely ignored in this context. The system has been updated with the new certificates, and the hooks have been executed.

Still no secure connection.
paperscreen is offline   Reply With Quote
Old 01-19-2024, 11:48 AM   #3
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,057
Karma: 3000024
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Please do not cross-post! You have posted the same information in 3 threads.
If you didn't get the reply, that means no one knows, and those who might know haven't read this yet.

In the meantime, try updating certificates by hand.
Make sure to preserve the Amazon-specific ones in the top of the certificate file.
mergen3107 is offline   Reply With Quote
Old 01-19-2024, 12:00 PM   #4
paperscreen
Enthusiast
paperscreen began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2023
Device: K3
Sorry. I wanted to keep all the post updated for other users.

How do I update certs by hand?
paperscreen is offline   Reply With Quote
Old 01-26-2024, 08:38 AM   #5
paperscreen
Enthusiast
paperscreen began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2023
Device: K3
Even though it looks like update was successful the certs don't seems to be updated:

openssl version
OpenSSL 0.9.8j 07 Jan 2009
paperscreen is offline   Reply With Quote
Reply

Tags
certificates, kindle 3 wifi, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Denied Karellen Calibre 18 07-06-2023 02:00 AM
Error: Permission Denied megthered Calibre 3 09-26-2015 11:51 AM
permission denied rodolfo Calibre 5 10-16-2010 11:58 PM
permission denied in calibre longhair75 Calibre 0 08-13-2010 01:09 PM
Permission denied? desertgrandma Kindle Formats 16 01-26-2009 06:06 AM


All times are GMT -4. The time now is 09:20 PM.


MobileRead.com is a privately owned, operated and funded community.