التوقيع الرقمي
وقّع بشهادة، ليتمكّن القارئ من إثبات أن الملف لم يتغيّر.
تعمل هذه الأداة داخل متصفحك بالكامل. لا يُرفع ملفك أبدًا، ويمكنك التحقق من ذلك في تبويب الشبكة بمتصفحك. تحقّق بنفسك: افتح تبويب الشبكة في متصفحك وراقب. سترى طلبًا صغيرًا واحدًا يسأل إن كان لديك مهام متبقية — اسم أداة وبصمة تجزئة، وليس الملف أبدًا.
ماذا تفعل هذه الأداة
This applies a real cryptographic signature: a detached CMS SignedData structure computed over the document's bytes and embedded in the file, which Acrobat and other compliant readers check when the document is opened. Unlike a drawn signature it establishes two things - that the holder of a particular certificate signed, and that not one byte has changed since.
When the recipient will verify rather than merely look: a tender submission, an invoice under an e-invoicing rule, a document going into an archive that requires signed originals, or anything where a later argument about whether the file was altered is a real possibility.
كيف تعمل
- Drop two files onto this page: the PDF, and your certificate as a .p12 or .pfx file. The order does not matter - the PDF is recognised by its contents.
- Type the passphrase that protects the certificate. It is used in your browser to unwrap the private key and is never sent.
- Fill in the reason and the location if your recipient expects them. Both are recorded inside the signature and shown by readers that display signature details.
- Leave visible on to draw a signature block on the page you choose, or turn it off for a signature that exists only in the file's structure.
- Press Sign with certificate, then open the result in Acrobat to see what a recipient's reader will report.
Every online signing service asks you to upload the one file you should never upload. Here the .p12 is read in the page and parsed inside a worker that holds nothing else, and the worker is terminated when the job finishes - the thread is discarded rather than a variable cleared, so nothing of the key survives into a later job.
A PDF signature covers the byte ranges its /ByteRange array names, and that array has to be written into the file in place, after space for the signature has been reserved. Re-serialising the document afterwards moves every offset and invalidates what was just computed - the mistake naive implementations make, and the reason some signed PDFs report as broken the moment they are opened.
A self-signed certificate produces a valid signature that readers report as validity unknown, because they have no reason to believe the name on it. That is not a failure: it says the mathematics checks out and the identity does not. A certificate issued by an authority your recipient's reader already trusts is what turns that into a green tick.
There is no trusted timestamp and no revocation checking, because both need a network service that this tool never contacts. The signing time recorded is your own computer's clock, which a strict recipient should treat as a claim rather than proof. An encrypted PDF is refused for a related reason: a signature computed over ciphertext is not something a reader will validate.
ما لا تستطيع هذه الأداة فعله
- A self-signed certificate shows as validity unknown in the recipient's reader until they choose to trust it. Only a certificate from an authority their reader already trusts avoids that.
- No trusted timestamp is applied and no revocation is checked, because both require contacting a server. The recorded signing time is your device's clock.
- This produces a basic signature rather than a long-term-validation profile, so once the certificate expires nothing in the file confirms the signature was made while it was valid.
- Encrypted documents are refused. Remove the password with Unlock PDF before signing.
- The visible signature block has a fixed position and size on the page you choose; it cannot be dragged elsewhere.
أسئلة يطرحها الناس
- ما الفرق بين هذه الأداة وأداة توقيع PDF؟
- أداة توقيع PDF ترسم صورة توقيع على الصفحة. أما هذه فتحسب توقيع تعمية على بايتات الملف بمفتاحك الخاص وتضمّنه، فيستطيع القارئ أن يبلّغ عمّن وقّع بحسب الشهادة، وهل تغيّر أي شيء منذ ذلك الحين. والنسخة المرسومة لا تثبت أيًّا من الاثنين.
- من أين أحصل على شهادة؟
- من سلطة إصدار شهادات - فعدة أنظمة وطنية وعدد من سلطات الشهادات التجارية وبعض أرباب العمل يصدرونها. وما تحتاجه هو حزمة PKCS#12، أي ملف .p12 أو .pfx يحمل شهادتك مع مفتاحها الخاص. والشهادة الموقّعة ذاتيًا والمصنوعة بـ OpenSSL توقّع جيدًا تمامًا، لكن القارئات لن تثق بها تلقائيًا.
- لماذا يقول Acrobat إن صلاحية التوقيع غير معروفة؟
- لأنه تحقّق من الرياضيات ولا يستطيع التحقق من الهوية. والرسالة تعني أن التوقيع سليم والمستند لم يتغيّر، لكن الشهادة لا تتسلسل إلى سلطة يثق بها القارئ - وهذا ما يحدث مع كل شهادة موقّعة ذاتيًا.
- هل يُرفع مفتاحي الخاص؟
- لا، وهذه هي الأداة التي يهمّ فيها ذلك أكثر من غيرها. يُقرأ ملف .p12 في الصفحة ويُحلَّل داخل Web Worker يُنهى فور انتهاء المهمة، فلا يُحتفظ بالمفتاح ولا يُرسل شيء. افتح تبويب الشبكة قبل التوقيع وراقبه وهو يبقى فارغًا.
- هل يوجد ختم زمني موثوق؟
- لا. الختم الزمني يأتي من سلطة ختم زمني عبر الشبكة، وهذه الأداة لا تُجري أي طلبات شبكة إطلاقًا، فالوقت المسجَّل هو ساعة جهازك أنت. وهو ادّعاء لا دليل، وينبغي إخبار المستلم ذي السياسة الصارمة بذلك مقدّمًا.
- هل يُرفع مستندي؟
- لا. المستند والشهادة يبقيان معًا على جهازك؛ ويُحسَب التوقيع ويُكتب في الملف محليًا. وبعد تحميل الصفحة مرة واحدة يعمل التوقيع والاتصال مقطوع، وهذه طريقة معقولة للتعامل مع شيء سرّي.