Legge til digitale signaturer

Module
Contents
Index 🔎︎

# Om digitale signaturer

## Anskaffe et sertifikat

Du kan skaffe deg et sertifikat fra en sertifikatutsteder. Om du velger en offentlig institusjon eller it privat firma, er det vanlig å måtte betale for sertifikatet for eksempel når de bekrefter identiteten din. Det er også mulig å få gratis sertifikat for eksempel frå CAcert, som er et «Open Source Project» basert på den stadig mer populære og pålitelige modellen «Web of Trust».

## Håndtere sertifikatene dine

If you are using Linux, macOS or Solaris, you must install a recent version of Thunderbird or Firefox. LibreOffice will then access their certificate storage.

If you have created different profiles in Thunderbird or Firefox and you want to use certificates from one specific user profile, select the profile in Tools - Options - Security - Certificate Path. Alternatively, you can set the environment variable MOZILLA_CERTIFICATE_FOLDER to point to the folder containing that profile.

1. Åpne innstillingene for nettleseren og velg Avansert. Klikk på fanen Sertifikat og velg Vis setifikat for å åpneSertifikathåndtereren.

2. Importer det nye rotsertifikatet ditt. Velg sertifikatet og rediger det. Slå på rotsertifikatet til å være betrodd for nett- og e-post-adgang. Dette sikrer at sertifikatet kan signere dokumentene dine. Du kan redigere et hvilket som helst mellomliggende sertifikat på samme måte, men det er ikke et krav for å signerer dokumenter.

3. Start LibreOffice på nytt når du har redigert de nye sertifikatene.

On Windows systems, LibreOffice will access the system certificate storage.

Your private key for the digital signature will usually be generated and securely stored by Windows as part of the signature-issuance process. Once the issuing Certificate Authority is satisfied that your computer produced the private key and you have satisfied any other identification requirements, the corresponding public key is signed by the Certificate Authority. For personal keys obtained over the Internet, the private key is generated by your browser and it is not shared with the Certificate Authority.

If a private key is received by other means or you transfer it from another computer, you can install it on your Windows PC by double-clicking on the private key certificate and providing any required password. This private key may be known to others (such as an organizational or governmental security administration) depending on how it was issued to you.

Public keys of other people used to verify document digital signatures, or encrypt documents for their eyes only, are usually stored in your system with digital certificate-management applications. In some cases you will need to manage those public-key certificates yourself.

The general management of public and private keys on your PC will vary depending on the version of Windows you are operating. For more information, use the "Help and Support" topic of your Windows version and search for "digital signature".

## Signere et dokument

1. Choose File - Digital Signatures - Digital Signatures.

2. En meldingsboks gjør deg oppmerksom på at du skal lagre dokumentet. Klikk på Ja for å lagre filen.

3. Når du har lagret dokumentet, åpnes dialogvinduet Digitale signaturer. Trykk på Legg til for å legge til en offentlig nøkkel i dokumentet.

4. In the Select Certificate dialog, select your certificate and click OK.

5. You see again the Digital Signatures dialog, where you can add more certificates if you want. Click OK to add the public key to the saved file.

A signed document shows an icon in the status bar. You can double-click the icon in the status bar to view the certificate.

The result of the signature validation is displayed in the status bar and within the Digital Signature dialog. Several documents and macro signatures can exist inside an ODF document. If there is a problem with one signature, then the validation result of that one signature is assumed for all signatures. That is, if there are ten valid signatures and one invalid signature, then the status bar and the status field in the dialog will flag the signature as invalid.

## Signering av makroene i et dokument

Normalt er makroer er del av et dokument. Hvis du signerer et dokument, blir makroene i dokumentet automatisk signert. Hvis du bare vil signere makroene og ikke dokumentet, skal du gjøre dette:

1. Velg Verktøy → Makroer → Digital signatur.

2. Legg til signaturen, som beskrevet ovenfor for dokumenter.

When you open the Basic IDE that contains signed macros, you see an icon in the status bar. You can double-click the icon in the status bar to view the certificate.

Lignende emner

Engelsk Wikiside om digitale signaturer

Omt digitale signaturer