Installation of certificate in Linux operating system: הבדלים בין גרסאות בדף

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש
(יצירת דף עם התוכן "קטגוריה:תעודת אבטחה {{En|התקנת תעודה במערכת ההפעלה מבוססת Linux}} {{Navigation|Security certificate}} Make sure...")
 
שורה 1: שורה 1:
 
[[קטגוריה:תעודת אבטחה]]
 
[[קטגוריה:תעודת אבטחה]]
{{En|התקנת תעודה במערכת ההפעלה מבוססת Linux}}
+
{{En|התקנת תעודה במערכת ההפעלה לינוקס}}
 
{{Navigation|Security certificate}}
 
{{Navigation|Security certificate}}
  
Make sure the curl command is installed.
+
'''Note: [[WiFree Software]] that blocks the network when not connected to NetFree is not currently supported on Linux computers.''' <small>(on the [https://netfree.link/user#/tools/feature-request?r=24 Voting page] You can vote for Linux software development).</small>
  
  curl api.internal.netfree.link/ca/netfree-ca.crt  --output /usr/local/share/ca-certificates/netfree-ca.crt
+
This script is active in Linux distributions based on Debian, CentOS, Alpine and ArchLinux.
   
+
 
  update-ca-certificates --fresh
+
Open the command line,run the following command:
 +
 
 +
<pre dir="ltr">
 +
curl -sL https://s1.netfree.link/dl/unix-ca.sh | sudo sh
 +
</pre>
 +
 
 +
Or
 +
 
 +
<pre dir="ltr">
 +
curl -sL https://s1.netfree.link/dl/unix-ca.sh | sh
 +
</pre>
 +
 
 +
Sometimes the command will fail due to the fact that <code>curl</code> isn't installed, and it will give a message:  <code>Command 'curl' not found</code>
 +
 
 +
To fix this, enter the command:
 +
<pre dir="ltr">
 +
sudo sh -c "(apt update && apt install -y curl) || yum install -y curl || apk add curl"
 +
</pre>
 +
 
 +
Then re-run the previous command.
 +
 
 +
It is recommended that you restart the computer after this.
 +
 
 +
 
 +
⚠ In order to install the certificate you need root permission.
 +
 
 +
⚠To use Firefox you must  install the [[Installation of certificate in Firefox browser|security certificate separately]]. You can also install a certificate for [[Installation of certificate in Chrome browser in Linux|Chrome]] individually.
 +
 
 +
See also: [[Installation of certificate in Chrome browser in Linux]], [[Installation of certificate in Firefox browser]].

גרסה מ־05:14, 9 באפריל 2021

לעברית לחצו כאן

To switch from edit view to read view

To search in the Wiki

Home page > Security certificate > Installation of certificate in Linux operating system ‎‎


Note: WiFree Software that blocks the network when not connected to NetFree is not currently supported on Linux computers. (on the Voting page You can vote for Linux software development).

This script is active in Linux distributions based on Debian, CentOS, Alpine and ArchLinux.

Open the command line,run the following command:

curl -sL https://s1.netfree.link/dl/unix-ca.sh | sudo sh

Or

curl -sL https://s1.netfree.link/dl/unix-ca.sh | sh

Sometimes the command will fail due to the fact that curl isn't installed, and it will give a message: Command 'curl' not found

To fix this, enter the command:

 sudo sh -c "(apt update && apt install -y curl) || yum install -y curl || apk add curl"

Then re-run the previous command.

It is recommended that you restart the computer after this.


⚠ In order to install the certificate you need root permission.

⚠To use Firefox you must install the security certificate separately. You can also install a certificate for Chrome individually.

See also: Installation of certificate in Chrome browser in Linux, Installation of certificate in Firefox browser.