- APPS
- Sign - Viettel SimCA 19.0
| Lines of Code | 622 |
| Technical name | viin_sign_sim_viettel |
| License | OPL-1 |
| Website | https://viindoo.com/apps/modules/19.0/viin_sign_sim_viettel |
| Read description for | v 17.0 v 18.0 |
| Required Apps | Discuss (mail) |
| Included Dependencies | Sign Sign - SIM Signing Providers |
Signers approve each digital signature on their own phone, with no token to plug in
For companies in Vietnam that sign documents with Viettel SimCA certificates
Sign documents with a Viettel SimCA digital certificate by confirming on your phone.
Odoo Community · Viindoo Cloud · License OPL-1 · English, Vietnamese
Extends Sign - SIM Signing Providers: the phone number step and the provider credentials come from it.
Extends Sign: documents, signature boxes and signing requests come from it.
What changes for your team
Connect your Viettel contract once
Today the AP ID and Private Key from Viettel travel by email or sit in a shared file.
→ They are entered once on the Viettel Sim CA method, the key masked, and only settings administrators can read them.
One more way to sign, in the same app
Today a signer needs the computer that holds the USB token and its driver.
→ Viettel Sim CA sits beside the built-in methods. The signer picks it, checks the number prefilled from their contact and approves on the phone.
A plain answer when the service is down
Today a failed connection can surface as a technical error nobody on the team can read.
→ The signer reads that the Viettel service is not available; the dialog stays open and the box stays unsigned, ready for another try.
Features
Connect
- ✓ A ready-made Viettel Sim CA signing method
- ✓ Holds the AP ID and Private Key Viettel issued
- ✓ Service address prefilled, editable when Viettel gives another
Sign
- ✓ Choose Viettel Sim CA in the Digital Sign dialog
- ✓ Phone number prefilled from the signer's contact
- ✓ National or +84 form accepted
- ✓ Two minutes to approve on the phone
- ✓ The phone shows the document name
When something is wrong
- ✓ A number that is not a Vietnamese mobile number is refused
- ✓ Missing or invalid credentials named before signing
- ✓ A readable message when the Viettel service is unreachable
Control and trust
- ✓ Only settings administrators see or change the credentials
- ✓ Signers sign without access to the credentials
- ✓ A method holding credentials belongs to one company
- ✓ Technical error details stay in the server log
Ready on day one
The Viettel Sim CA method
The signing method and the Viettel service address are in place at installation; signers see the method in the Digital Sign dialog.
What the administrator sets first
Enter the AP ID and Private Key from your Viettel SimCA contract, choose the company, give signers Sign / User access and fill in their phone numbers.
Before you decide
What do we need besides this app?
A Viettel SimCA contract, which gives the AP ID and Private Key, and a Viettel SimCA certificate on each signer's phone number. The app connects to the service; it does not include them.
Does the document leave our database?
No. Viettel receives the signer's phone number, a fingerprint of the document and its name without accents to show on the phone. The certificate stays with Viettel; only the signature is added to the document.
Who sees our credentials?
Only settings administrators. Signers choose the method and enter a phone number; they never see the AP ID or the Private Key.
What happens when Viettel does not answer?
The signer reads that the service is not available and tries again later. Nothing is signed, the dialog stays open, and the technical detail goes to the server log for the administrator.
What does it take to run?
Sign and Sign - SIM Signing Providers, installed with it, and nothing extra on the server. The server must reach the Viettel service address, which the administrator can change.
Try it, then ask us
The Documentation tab above covers setup and signing. A live demo runs at v19demo-int.viindoo.com.
Pre-sales & partnership
viindoo.com/contactusTechnical support
viindoo.com/ticketSign - Viettel SimCA - User Guide
Audience: settings administrators who connect the company to Viettel SimCA, and signers who sign documents with their SIM.
Note
Extends Sign - SIM Signing Providers - see its documentation for provider credentials and the generic signing dialog.
Note
Extends Sign - see its documentation for uploading documents, placing signature boxes and sending requests.
Overview
Viettel SimCA keeps the signer's digital certificate (in Vietnamese, "chứng thư số") on the SIM side and releases it only for the signer's mobile phone number. This app adds Viettel SimCA as a signing method in Sign:
- a ready-made signing method, Viettel Sim CA, that holds the credentials Viettel issued to your company;
- in the Digital Sign dialog the signer chooses Viettel Sim CA, checks a phone number that is already filled in, and confirms the signature on the phone;
- a number that is not a valid Vietnamese mobile number is refused, and when the Viettel service cannot be reached the signer gets a clear message.
The process:
- Settings administrator enters the company's credentials on the Viettel Sim CA method.
- Signer opens a document, chooses Viettel Sim CA, checks the phone number and presses Sign.
| Role | What they do | Access right to assign |
|---|---|---|
| Settings administrator | Enters the AP ID and the Private Key, and sets the service address when Viettel gives a different one. | Administration / Settings |
| Signer | Signs with the SIM from the Digital Sign dialog. | Sign / User |
Setup (for the Administrator)
Installation
- Install Sign and Sign - SIM Signing Providers, as described in their documentation.
- Open Apps, search for Sign - Viettel SimCA and press Install.
Give people their access right
Open Settings ‣ Users & Companies ‣ Users, open a user and, in the Sign section, choose User for people who sign. Whoever enters the Viettel credentials needs the Administration / Settings access right.
Enter the Viettel credentials
Open Sign ‣ Settings ‣ Signing Methods and open Viettel Sim CA. In the Configuration tab, under Provider Credentials:
- Enter the AP ID that Viettel issued to your company.
- Enter the Private Key that Viettel issued to your company. It is hidden while you type.
- In Company, choose the company that holds the contract with Viettel.
- Save.
Both credentials are required for this method. Before a signature is requested, the app checks them: a missing AP ID, a missing Private Key or a Private Key that is not valid stops the signature with a message that asks you to correct the settings. Only an administrator with the Administration / Settings access right sees and edits these two values.
Set the Viettel service address
The app comes with the service address already filled in. Use only the address that Viettel gives you for your company; if it differs, or Viettel changes it, update it:
- Activate the developer mode.
- Open Settings ‣ Technical ‣ System Parameters.
- Open the parameter viin_sign_sim_viettel.wsdl_url and replace its value with the address from Viettel.
- Save.
When this parameter is empty, signing stops with the message "Please configure the Viettel Sim CA gateway URL".
Signer: signing with the SIM
Before you start, you need the Sign / User access right, a document with a digital signature box assigned to you, and a phone number registered with Viettel SimCA. Your phone number is read from your contact card, so ask your administrator to fill it in when the dialog shows it empty.
- Open the document from your email link or from Sign ‣ Documents and open your digital signature box.
- In the Digital Sign dialog, choose Viettel Sim CA in Signing Method.
- Check the phone number in Enter your phone number to sign. The number of your contact card is already filled in; correct it if the SIM uses another number. Both the national form (0912345678) and the international form (+84912345678) are accepted.
- Press Sign.
- Confirm the signature on your phone within two minutes.
The document name is shown on your phone without accents. When the signature succeeds, the box shows as signed.
Troubleshooting
"The Viettel Sim CA service is not available right now. Please try again later." The Viettel service did not answer. The box stays unsigned and the dialog stays open: wait a little and press Sign again. If it persists, ask the administrator to check the service address.
"Phone Number: ... is not valid." The number is not a valid Vietnamese mobile number. Check it and enter it again.
The phone number is empty. Your contact card has no phone number. Type the number in the dialog, or ask your administrator to fill in your contact card.
"Please configure AP ID on authentication." / "Please configure Private Key on authentication." The credentials of the Viettel Sim CA method are incomplete. Ask a Settings administrator.
"Private key is invalid. Please check the settings and try again." The Private Key was not entered as Viettel issued it. Ask a Settings administrator to enter it again.
Viettel Sim CA is not in the list of methods. The method is inactive or not available to your company. Ask a Sign administrator.
FAQ
Is my SIM certificate stored in the system? No. The certificate stays with Viettel; only the signature result is added to the document.
Can a signer see the company's credentials? No. Signers only choose the method and enter a phone number.
Which phone number formats are accepted? Vietnamese mobile numbers in national form (0912345678) or international form (+84912345678).
This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software.
The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.